I'm beginning to suspect this Nagios Core setup was installed using a 3rd party repository as mentioned by bolson in this post . In which case, a simple yum update might be the culprit. I'd start with double checking all the repositories and packages present on this system. This output may be useful...
For a check that is taking nearly an hour to properly return it's results, I would highly recommend you schedule it as a cron job and submit the results to Nagios XI as a passive check. More info on passive checks if you go that route: https://assets.nagios.com/downloads/nagiosxi/docs/Configuring-Pa...
From the Nagios Core site where it states your version and below lets you click the "Check for Updates" will that initiate any kind of an upgrade? Here's the code that generates the link: https://github.com/NagiosEnterprises/nagioscore/blob/2e4212c70dda568e4bf0393435bc6ab0864994e7/html/ma...
I am just wandering now how I configure the command on the Nagios server in order to run this script on remote hosts as a service So you already have the command configured in your NSClient++ configuration; That's step 1: [/settings/external scripts/scripts] Get-PendingReboot_ps1 = cmd /c echo scri...
Is it possible for this to upgrade on it's own? ! Highly unlikely (in my opinion). 3.x to 4.x is a pretty involved upgrade. There's also no auto-update mechanism built into Nagios Core; It's all a very manual process right now. How do I Roll back or get this version running. VM level snapshots woul...
The Nagios XI REST API is probably the best place to do that. You can find usage information regarding the REST API from the "Help" section of your Nagios XI GUI.
Some good insights from box293 from past Nagios World Conferences: https://www.youtube.com/watch?v=wcULFg2dHLc https://www.youtube.com/watch?v=bi-zBWhNVOE And some official documentation for custom components: https://assets.nagios.com/downloads/nagiosxi/docs/Writing-Custom-Components-For-Nagios-XI....
If you could share a screenshot of one such event in the Nagios Log Server GUI, fully expanded to show all the fields, that might be helpful for refining the filter rule a bit.
I'm uhh...confused? The HTML I shared is what was drawn by the regular old status.cgi page that I shared for demonstrative purposes. That's not some script you can chuck into a C file and compile to get your desired results. Here's the C behind status.cgi. That's what would need to be modified/re-co...