Nagios doesn't plot second graph

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
vmesquita
Posts: 315
Joined: Fri Aug 10, 2012 12:52 pm

Nagios doesn't plot second graph

Post 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?
You do not have the required permissions to view the files attached to this post.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Nagios doesn't plot second graph

Post 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.
You do not have the required permissions to view the files attached to this post.
Be sure to check out our Knowledgebase for helpful articles and solutions!
vmesquita
Posts: 315
Joined: Fri Aug 10, 2012 12:52 pm

Re: Nagios doesn't plot second graph

Post by vmesquita »

Thanks!
cmerchant
Posts: 546
Joined: Wed Sep 24, 2014 11:19 am

Re: Nagios doesn't plot second graph

Post by cmerchant »

I'm glad that helped. I'll go ahead and lock this thread. Thanks.
Locked