Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
I am looking to implement a Nagios Core server to help the business I work for and all looks good so far!
I have run into a strange issue, where the Nagios server is recording down time but not uptime? (probably a simple fix but I'm newbie on linux!)
Second, most of our customers have numerous servers behind external NAT IP addresses, is there a simple solution to being able to monitor these? I did think of a site to site VPN to them however due to them having similar subnets this will cause issues.
ruler20202 wrote:I have run into a strange issue, where the Nagios server is recording down time but not uptime? (probably a simple fix but I'm newbie on linux!)
What version of Nagios Core are you using?
ruler20202 wrote:
Second, most of our customers have numerous servers behind external NAT IP addresses, is there a simple solution to being able to monitor these? I did think of a site to site VPN to them however due to them having similar subnets this will cause issues.
Passive checks might be a solution to use, this way it's the sending device that is responsible for contacting Nagios.
NRDS is one passive solution: https://support.nagios.com/kb/category.php?id=124
I have set this up on Ubuntu 16.04 and the Nagios Core version is currently 4.1.1. Its strange as it can happily log the down time but I cannot seem to get any stats for up-time.
I will have a look at the solutions you have provided in relation to using this for our customers .
Can you post the Standard settings and the Advanced settings you used when running the trends in your examples?
When you do run it, do you see any errors in the Apache logs in the /var/log/httpd folder?
Be sure to check out our Knowledgebase for helpful articles and solutions!
I didn't mean the nagios.cfg file but you could post it in case is is needed.
There are 2 ways to view the Trends reports in Nagios Core now.
The new Trends report and the Legacy Trends report, which one are you running?
When you run the new one, it will popup a window asking what report type, which host or service, etc and a Advanced Tab for selecting how to Assume the data, etc...
What did you use for those settings?
The error logs on a Ubuntu server are in this folder
/var/log/apache2/
Do you see any errors in the error_log file when running the Trends report?
Be sure to check out our Knowledgebase for helpful articles and solutions!
I have now managed to fix this myself! Basically I believe the issue was I setup this nagios on my local machine as a VM for testing I spotted that when adding clients the trends graph would start working. When the VM got put on pause and resumed the data was blank. Not sure what would cause this, however I have now put it on our Hyper V an its running constant and everything seems to be running well!