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!
NSCA addon
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: NSCA addon
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.
-
eric_draven
- Posts: 7
- Joined: Wed May 29, 2013 8:26 am
Re: NSCA addon
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?
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?
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: NSCA addon
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!
http://nagiosplug.sourceforge.net/devel ... lines.html
Including performance data information!