Page 1 of 1

Ping with DSCP coding

Posted: Tue Sep 20, 2016 6:27 pm
by castroi
Hello,

I would like to to do some ping check with customized DSCP marking (like AF41, EF ... ) to allow more reliable monitoring of application.
Could you please advise ?

I am running latest Nagios XI 5.2.9 .

Thank you,

Igor

Re: Ping with DSCP coding

Posted: Tue Sep 20, 2016 6:36 pm
by Box293
It does not appear as though the check_icmp or check_ping plugins have any options for this.

I searched the Nagios Exchange and found this plugin:

https://exchange.nagios.org/directory/A ... 2E/details

Follow the steps in this guide which explains how to upload a plugin and create a service for it:
https://support.nagios.com/kb/article.php?id=235

Does this help?

Re: Ping with DSCP coding

Posted: Tue Sep 20, 2016 9:37 pm
by castroi
Hello,

I will try but do I need to have some specific settings. Usually you need root level to enable crafting of EF packets.
Here i see from the page :

Possible settings for special Precedence range from priority (0x20) to net control (0xe0). You must be root (CAP_NET_ADMIN capability) to use Critical or higher precedence value.

Will nagios have enough privilege to do it ?

thank you,

Igor

Re: Ping with DSCP coding

Posted: Tue Sep 20, 2016 10:45 pm
by Box293
You may need to add a sudoers entry for that specific plugin, which should grant the required root level access.