Problems with Pluging and graphics
Posted: Fri Jul 02, 2021 5:30 am
Hi Everybody
I wrote a pluging for testing purpose.
When I do an check_nrpe on localhost , I have
/usr/lib/nagios/plugins/check_nrpe -H 127.0.0.1 -c check_nodesps
OK - ProcUsed: 52, 0, 1588 | avg1=0.035;0.150;0.300;0; avg2=0.035;0.150;0.300;0; avg3=0.034;0.150;0.300;0;
when I did the same command on my server Nagios
./check_nrpe -H X.X.X.X -c check_nodesps
OK - ProcUsed: 56, 0, 1588 | avg1=0.05;0.150;0.300;0; avg2=0.049;0.150;0.300;0; avg3=0.048;0.150;0.300;0;
I think then my plugin is working well
But when I try to draw a graph in Nagios web page ... I have nothing
Anybody can explain me the proper way to declare a plugin to nagios to obtain a graphical output ???
Best Regards
I wrote a pluging for testing purpose.
When I do an check_nrpe on localhost , I have
/usr/lib/nagios/plugins/check_nrpe -H 127.0.0.1 -c check_nodesps
OK - ProcUsed: 52, 0, 1588 | avg1=0.035;0.150;0.300;0; avg2=0.035;0.150;0.300;0; avg3=0.034;0.150;0.300;0;
when I did the same command on my server Nagios
./check_nrpe -H X.X.X.X -c check_nodesps
OK - ProcUsed: 56, 0, 1588 | avg1=0.05;0.150;0.300;0; avg2=0.049;0.150;0.300;0; avg3=0.048;0.150;0.300;0;
I think then my plugin is working well
But when I try to draw a graph in Nagios web page ... I have nothing
Anybody can explain me the proper way to declare a plugin to nagios to obtain a graphical output ???
Best Regards