Page 1 of 2

NRDP Passive checks into graph

Posted: Wed Dec 09, 2015 7:14 am
by peter19x
Hello,

So I was able to setup passive checks from my Linux machine and send it to nagios NRDP server, so I can receive new passive checks for that service every 5min (for example). Now is it possible to store that data I am receiving and shape it into a graph?

Thanks,
Peter

Re: NRDP Passive checks into graph

Posted: Wed Dec 09, 2015 10:32 am
by tmcdonald
Your check results will need to include performance data as per the following doc:

https://nagios-plugins.org/doc/guidelines.html#AEN200

Assuming everything is valid the graphs should generate themselves.

Re: NRDP Passive checks into graph

Posted: Tue Dec 15, 2015 4:40 am
by peter19x
Thank you I was able to generate a graph from my passive checks, although it comes in a default format/color. Where would I be able to edit the design as I please? I have checked in the directory /usr/local/nagios/share/perfdata/x.x.x.x/ the xml files but there was nothing there.

Re: NRDP Passive checks into graph

Posted: Tue Dec 15, 2015 10:34 am
by tmcdonald
That I do not know off-hand. I assume you're talking about the graph line colors? We don't have any way to define that in the web interface. I do need to mention that if you decide to modify anything in the code we can't really help fix any resulting errors that might crop up.

Re: NRDP Passive checks into graph

Posted: Tue Dec 15, 2015 10:59 am
by peter19x
Hello,

Thanks for replying. What I had in mind is, instead of having a filled colored graphs I want it just a single line so I can have several lines in 1 graph without them being on top of each other. Is this a thing that can be done ?

Re: NRDP Passive checks into graph

Posted: Tue Dec 15, 2015 5:52 pm
by tmcdonald
This should be possible within the Highcharts framework (Javascript library we use for graphs) since we use this in the Home -> Graph Explorer -> Multistacked Performance Graph tab. However I don't think this is possible in the general XI performance graphs. I'll make sure a feature request gets filed for this.

Re: NRDP Passive checks into graph

Posted: Thu Dec 17, 2015 4:31 am
by peter19x
Hello,

Actually it can be done to the passive graphs, but sadly it must be done manually to each graph (I have 1000+ graphs). And the only way to keep it as lined graph it must be added to a dashboard otherwise the changes won't be saved.

Re: NRDP Passive checks into graph

Posted: Thu Dec 17, 2015 11:52 am
by tmcdonald
Are you saying that it works for passive check graphs but not active? From a graphing/performance standpoint there really should be no difference between the two. Where specifically is this working vs not working for you?

Re: NRDP Passive checks into graph

Posted: Mon Dec 21, 2015 6:47 am
by peter19x
Thanks for replying,

It is working for both, the only problem is just that changes must be done to passive checks one by one, what I mean is there is no rule that says change this option for all passive checks which is a pain if you have a lot of graphs. But the good thing is it works:)

Thank you

Re: NRDP Passive checks into graph

Posted: Mon Dec 21, 2015 2:32 pm
by rkennedy
To further help you, can you tell us what exactly you're modifying to make these changes? We can definitely file a feature request for this, so that you can make the changes in bulk.