Page 1 of 1

NSCA addon

Posted: Wed May 29, 2013 8:36 am
by eric_draven
Hello guys, i've installed the NSCA addon on my Nagios Server and on the client I'm monitoring. I have two doubts:

1. Can the Nagios Server choose the threshold for the performance data provided from the client (by NSCA)? Because, at the moment, with NSCA, the client sends to the server a string containing "Host_name - Service_name - Description_service - Status_service", but in this way the client sets it's own status (and not Nagios Server!!!) like ok, warning or critical. I'd like to make the Nagios Server able to choose if the service of the client is Ok, warning or critical, according to the received performance data

2. Is there any addon for Nagios to plot the results of a passive check? I've tried Ingraph, but it doesn't consider the passive checks!

Can you help me, please??

Many thks!

Re: NSCA addon

Posted: Wed May 29, 2013 10:21 am
by slansing
Well the thing is here, you have to understand how Nagios change's it's services and hosts states. This is done by reading the output of a remote plugin's return codes and setting "for instance" a service to unknown, ok, warning, critical. You would need to change the plugin itself so that it parses that performance data, and sends a return code based off of it. Rather than a warning and critical threshold. I'm not sure how much luck you will have with this as Nagios is designed to change states based off those thresholds, it would have to be done on the plugin's side.

Re: NSCA addon

Posted: Wed May 29, 2013 10:55 am
by eric_draven
Thank you for your reply!
So, you mean that I can only change the plugin on the client side? Should I put the threshold on the client so that it returns the right output (warning, critical ecc) to the Nagios Server?

Re: NSCA addon

Posted: Wed May 29, 2013 11:53 am
by slansing
Yeah no problem! Yep, you will need to change these values on the remote host's side as NSCA is using it's local plugin's "since it is passive," a ton of good solid information can be found here:

http://nagiosplug.sourceforge.net/devel ... lines.html

Including performance data information!