Search found 17 matches
- Wed Dec 18, 2024 1:06 pm
- Forum: Nagios XI
- Topic: Support for hosting in Docker
- Replies: 1
- Views: 2732
Support for hosting in Docker
I've seen a handful of posts about this over the years: https://support.nagios.com/forum/viewtopic.php?t=39884 https://support.nagios.com/forum/viewtopic.php?t=60171 We initially deployed via the OVA for VMware, which was convenient, but that underlying OS is now out of support and we need to update...
- Mon Feb 14, 2022 11:33 am
- Forum: Nagios XI
- Topic: Nagios not cleaning up old switch configs from mrtg?
- Replies: 13
- Views: 2013
Re: Nagios not cleaning up old switch configs from mrtg?
Thanks for following up with the details, want to verify that you are receiving a list of devices that are no longer available by running with '--check'. Want to verify permission issue. LANG=C LC_ALL=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg --lock-file /var/lib/mrtg/mrtg.lock --confcache-file /var/lib/m...
- Wed Feb 09, 2022 12:10 pm
- Forum: Nagios XI
- Topic: Nagios not cleaning up old switch configs from mrtg?
- Replies: 13
- Views: 2013
Re: Nagios not cleaning up old switch configs from mrtg?
Thanks for following up, want to verify the cron job is going off without issue. We see that every 5 minutes the following cron is run: find /etc/cron* -type f -exec grep -Eri "mrtg" -A 2 -B 2 {} \; */5 * * * * root LANG=C LC_ALL=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg --lock-file /var/lib/mrt...
- Tue Feb 08, 2022 11:11 am
- Forum: Nagios XI
- Topic: Nagios not cleaning up old switch configs from mrtg?
- Replies: 13
- Views: 2013
Re: Nagios not cleaning up old switch configs from mrtg?
The emails had stopped. However, it looks like a new case of the same just popped up. One of the remaining switches was 'moved' onto a new management network (another group in our organization is taking over management of it). The switch is no longer reachable at its IP. That immediately started up ...
- Tue Feb 01, 2022 5:40 pm
- Forum: Nagios XI
- Topic: Nagios not cleaning up old switch configs from mrtg?
- Replies: 13
- Views: 2013
Re: Nagios not cleaning up old switch configs from mrtg?
First, look at the outline issue on number one we see that 'root@localhost' is listed in the nagios.cfg. Have a feeling that there is a ghost cfg that is hanging around, but want to have you confirm by running this to see if there is another cfg: find /usr/local/nagios/ -type f -exec grep -HEri &qu...
- Mon Jan 31, 2022 4:56 pm
- Forum: Nagios XI
- Topic: Nagios not cleaning up old switch configs from mrtg?
- Replies: 13
- Views: 2013
Re: Nagios not cleaning up old switch configs from mrtg?
following up please let us know if you want us to take a look at any other errors as well. To send us your system profile. Login to the Nagios XI GUI using a web browser. Click the "Admin" > "System Profile" Menu Click the "Download Profile" button Save the profile.zip...
- Mon Jan 31, 2022 4:49 pm
- Forum: Nagios XI
- Topic: Nagios not cleaning up old switch configs from mrtg?
- Replies: 13
- Views: 2013
Re: Nagios not cleaning up old switch configs from mrtg?
Unfortunately, it looks like the nagiosadmin has a different/valid email address (one of mine).
- Mon Jan 31, 2022 10:24 am
- Forum: Nagios XI
- Topic: Nagios not cleaning up old switch configs from mrtg?
- Replies: 13
- Views: 2013
Nagios not cleaning up old switch configs from mrtg?
This weekend, the Nagios VM (based on the VMWare image provided by Nagios) has started sending emails to the "root" account every 5 minutes. This looks to be coming from the cronjob for mrtg, subject line of the emails is: Cron <root@nagios> LANG=C LC_ALL=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg...
- Fri Jan 28, 2022 3:10 pm
- Forum: Nagios XI
- Topic: check_docker / NCPA / Python versions
- Replies: 9
- Views: 2118
Re: check_docker / NCPA / Python versions
Bingo. The key ended up being in the NCPA config file (/usr/local/ncpa/etc/ncpa.cfg). It defines how each script type is handled. .py = python3 $plugin_name $plugin_args So it was bypassing the shebang line at the beginning of the script and explicitly calling the python3 interpreter. I changed that...
- Fri Jan 28, 2022 9:58 am
- Forum: Nagios XI
- Topic: check_docker / NCPA / Python versions
- Replies: 9
- Views: 2118
Re: check_docker / NCPA / Python versions
To expand on this, it is pretty easily recreatable manually. Invoking with python3 blows up with the same error reported via Nagios, invoking with Python2.7 works. aclauss@mattermost:~$ python3 /usr/local/ncpa/plugins/check_docker.py -V File "/usr/local/ncpa/plugins/check_docker.py", line ...