Page 1 of 1

Nagios doesn't plot second graph

Posted: Thu Oct 09, 2014 12:58 pm
by vmesquita
We're a trying to build a plugin that send 2 performance data. This is a sample output from our plugin:
OK Quantidade de memoria maior ou igual a 0 e menor ou igual 3980;|heap_memory_usage=232MB;3980;3995;0;4000
x | non_heap_memory_usage=146MB;3980;3995;0;4000
For some reason, the second result shows its instant data, but its value never makes to the performance graph (image attached). Any idea why?

Re: Nagios doesn't plot second graph

Posted: Thu Oct 09, 2014 1:37 pm
by lmiltchev
I believe the problem is your second pipe. You need to have one pipe (not two). Here's an example ouput:

OUTPUT: OK - Physical Memory: Total: 0.016TB - Used: 5.500GB (34%) - Free: 0.010TB (66%)|'Physical Memory Used'=5905592320Bytes; 'Physical Memory Utilisation'=34%;80;90;
example01.PNG
example02.PNG
Hope this helps.

Re: Nagios doesn't plot second graph

Posted: Mon Nov 03, 2014 8:43 am
by vmesquita
Thanks!

Re: Nagios doesn't plot second graph

Posted: Mon Nov 03, 2014 10:12 am
by cmerchant
I'm glad that helped. I'll go ahead and lock this thread. Thanks.