The error ping: sendto: No space left on device along with the system alarm indicating that the /var partition is full (/var partition usage is high) suggests that your device's disk space for the /var directory is running low, which is causing the ping command to fail.
ping: sendto: No space left on device
/var
/var partition usage is high
Below errors are seen while executing the ping.
switch> ping 10.122.XX.XX
PING 10.122.XX.XX (10.122.XX.XX): 56 data bytes
switch> show chassis alarms
1 alarms currently active
Alarm time Class Description
2024-12-10 19:28:28 ICT Minor RE 1 /var partition usage is high
{master:1}
switch> show system alarms
Steps to Resolve the Issue:
Referred below KB:
https://supportportal.juniper.net/s/article/EX-QFX-How-to-troubleshoot-var-partition-usage-is-high