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
Performance Graphs between federated Nagios servers
-
- Posts: 10
- Joined: Tue Jan 11, 2022 9:41 pm
Re: Performance Graphs between federated Nagios servers
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
https://support.nagios.com/forum/viewto ... 22#p255622
-
- Posts: 10
- Joined: Tue Jan 11, 2022 9:41 pm
Re: Performance Graphs between federated Nagios servers
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
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
-
- Posts: 10
- Joined: Tue Jan 11, 2022 9:41 pm
Re: Performance Graphs between federated Nagios servers
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
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
That's great to hear!
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:
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
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
Is that question in terms of performance data? If so, see here for the format:Is there some additional documentation around what can and can't be sent, and different default parameters which can be included?
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
- 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>
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
-
- Posts: 10
- Joined: Tue Jan 11, 2022 9:41 pm
Re: Performance Graphs between federated Nagios servers
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
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
Excellent, @clickityclack that is great please let us know if there is anything further we can help with. Locking.
Perry
Perry