Ping with DSCP coding

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
castroi
Posts: 52
Joined: Mon Jul 27, 2015 2:11 pm

Ping with DSCP coding

Post 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
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Ping with DSCP coding

Post 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?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
castroi
Posts: 52
Joined: Mon Jul 27, 2015 2:11 pm

Re: Ping with DSCP coding

Post 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
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Ping with DSCP coding

Post by Box293 »

You may need to add a sudoers entry for that specific plugin, which should grant the required root level access.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked