Page 1 of 1

ping with 32bytes

Posted: Thu May 15, 2014 7:07 am
by idas
Hello,

I am using nagiosXI, and i want to monitor some laser heads.
Those devices reply only to ping requests of 32bytes.
Linux by default ping with 64bytes.

Is there a way to force check_icmp to use 32bytes?

Thanks

Re: ping with 32bytes

Posted: Thu May 15, 2014 3:19 pm
by sreinhardt
Just an FYI, most plugins have a -h flag that provide lots of great information. As for your question, using a "-b 24" should provide you with a 32 byte packet, as it is 8 bytes for the header + data size (-b option).