How to configure multiple ping commands in a single service

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
yunushaikh
Posts: 176
Joined: Sat Jun 20, 2015 9:04 pm

How to configure multiple ping commands in a single service

Post by yunushaikh »

Hello Experts,

There is a requirement of getting large packet latency and small packet latency together in a single service.

I understand that large packet latency ping and small packet latency will have different commands,
Large packet : ping IP -l 800
Small packet : ping IP -l 100

Is it possible to incorporate these two together and get a output of RTA and Packet loss. Also if you have any idea to make this possible please let me know.
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: How to configure multiple ping commands in a single serv

Post by rkennedy »

check_ping does not allow you to maniuplate the size, and check_icmp has one option that might be what you're looking for -

Code: Select all

 -b
    Number of icmp data bytes to send
    Packet size will be data bytes + icmp header (currently 68 + 8)
If that's not what you're looking for, take a look at the Exchange to see if you can find a plugin that will do that - https://exchange.nagios.org - otherwise, you might just need to write your own to achieve the result.
Former Nagios Employee
Locked