Page 1 of 1

Performance Graphs between federated Nagios servers

Posted: Thu Feb 03, 2022 10:43 pm
by clickityclack
Hi Everyone,

I currently have a Nagios XI and Nagios Core server setup in different AWS VPCs.
The Nagios Core server is sending data via NRDP to the Nagios XI server, and the Nagios XI server is receiving the data successfully.

The issue is that none of the services or hosts being sent from the Nagios Core server have any associated performance graphs, whereas any hosts being reported by the Nagios XI server do. This is an issue, as the Nagios Core server is collecting the bulk of the data and the performance graphs will be important for troubleshooting later on.

The Nagios XI server is a cent OS 7, the Nagios core is AWS Linux.

Any help is greatly appreciated!
Kind regards,
ClickityClack

Re: Performance Graphs between federated Nagios servers

Posted: Fri Feb 04, 2022 5:22 pm
by ssax
I found this here that says to check the Commands on the Core system and adjust them:

https://support.nagios.com/forum/viewto ... 22#p255622

Re: Performance Graphs between federated Nagios servers

Posted: Mon Feb 07, 2022 7:11 pm
by clickityclack
Hi Ssax,

My apologies for the lateness of my reply, I didn't receive an alert to my email and only checked back this morning.
I've just made the changes linked in the forum post, and it's looking very promising. I'll let it run for a little while and report back how it looks!

Kind regards,
ClickityClack

Re: Performance Graphs between federated Nagios servers

Posted: Tue Feb 08, 2022 1:07 am
by clickityclack
Hi Ssax,

That definitely has the information feeding into the server now!
Is there some additional documentation around what can and can't be sent, and different default parameters which can be included?

There are several metrics in my environment currently being monitored, including temperature and cell reception strength, which appear to be working perfectly. The round trip average is being sent, but not the rtmin or rtmax.

Thanks for the help!

Kind regards,
ClickityClack

Re: Performance Graphs between federated Nagios servers

Posted: Tue Feb 08, 2022 3:19 pm
by ssax
That's great to hear!
Is there some additional documentation around what can and can't be sent, and different default parameters which can be included?
Is that question in terms of performance data? If so, see here for the format:

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

See here as well for plugin output:

https://assets.nagios.com/downloads/nag ... inapi.html
https://nagios-plugins.org/doc/guidelin ... PLUGOUTPUT

The plugin would have to output the rtmin/rtmax to be graphed, if you're not seeing it the best option is to check the XML file for issues in:

Code: Select all

/usr/local/nagios/share/perfdata/THEHOSTNAME/THESERVICENAME.xml
If it's having issues inserting data into the RRD file (because the number of metrics changed), you'll have an error in this section:
- NOTE: The number of metrics in the plugin output needs to stay the same since the RRD was created, if there are more metrics (or less) than the RRD expects it will not let the data be inserted

Code: Select all

  <RRD>
    <RC>0</RC>
    <TXT>successful updated</TXT>
  </RRD>
Look at the NAGIOS_PERFDATA column in there as well to make sure it matches the format from the link above.

To fix those RRDs that give an error there you can either delete the RRD and have it be rebuilt with the proper number of datasources OR manually adjust them via:

To add datasources to RRDs that don't have enough:

https://support.nagios.com/kb/article/n ... g-149.html

To delete datasource from RRDs that have too may:

https://support.nagios.com/kb/article/n ... e-497.html

Re: Performance Graphs between federated Nagios servers

Posted: Wed Feb 09, 2022 4:28 pm
by clickityclack
Hi Ssax,

That's amazing information, it's interesting jumping into the more technical side of Nagios and I've got a few things to tinker with.

At this point feel free to close off this thread, and thank you so much for the help!

Kind regards,
ClickityClack

Re: Performance Graphs between federated Nagios servers

Posted: Thu Feb 10, 2022 3:43 pm
by pbroste
Excellent, @clickityclack that is great please let us know if there is anything further we can help with. Locking.
Perry