Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

check_netstat.pl performance data #3

Open
Ezudin opened this issue Sep 9, 2014 · 0 comments
Open

check_netstat.pl performance data #3

Ezudin opened this issue Sep 9, 2014 · 0 comments

Comments

@Ezudin
Copy link

Ezudin commented Sep 9, 2014

I have integrated the plugin in my Nagios installation on Ubuntu server and the data is displayed correctly

Now, I am trying to use performance data with Nagios & PNP4Nagios but without success.

Example output:
user@nagios:# /usr/local/nagios/libexec/check_nrpe -H remote_server -c check_smtp_connections
OK - smtp_in is 3 | smtp_in=3;
:3;~:5

At the remote_server the command is defined in /usr/local/nagios/etc/nrpe.cfg
command[check_smtp_connections]=/usr/local/nagios/libexec/check_netstat.pl -p "<smtp" -w ">3" -c ">5" -f

The graph in Nagios/PNP4Nagios cannot be displayed. It seams the format of performance data is not correct comparing with http://docs.pnp4nagios.org/pnp-0.6/perfdata_format

Can you help me to resolve this problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant