NRDP Passive checks into graph

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
peter19x
Posts: 119
Joined: Tue Dec 08, 2015 10:16 am

NRDP Passive checks into graph

Post 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
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: NRDP Passive checks into graph

Post 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.
Former Nagios employee
peter19x
Posts: 119
Joined: Tue Dec 08, 2015 10:16 am

Re: NRDP Passive checks into graph

Post 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.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: NRDP Passive checks into graph

Post 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.
Former Nagios employee
peter19x
Posts: 119
Joined: Tue Dec 08, 2015 10:16 am

Re: NRDP Passive checks into graph

Post 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 ?
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: NRDP Passive checks into graph

Post 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.
Former Nagios employee
peter19x
Posts: 119
Joined: Tue Dec 08, 2015 10:16 am

Re: NRDP Passive checks into graph

Post 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.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: NRDP Passive checks into graph

Post 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?
Former Nagios employee
peter19x
Posts: 119
Joined: Tue Dec 08, 2015 10:16 am

Re: NRDP Passive checks into graph

Post 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
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: NRDP Passive checks into graph

Post 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.
Former Nagios Employee
Locked