Well, I can dig and nslookup, so dns should be ok.
I didn't think that would be the issue, since it resolved fine, before the upgrade from rhel 6 to 7.
Core version is 4.5. I supposed it could just be a plugin config. Not entirely sure how to check plugin version.
Search found 26 matches
- Fri Apr 19, 2024 11:14 am
- Forum: Open Source Nagios Projects
- Topic: check_http error
- Replies: 3
- Views: 554
- Thu Apr 18, 2024 8:36 am
- Forum: Open Source Nagios Projects
- Topic: check_http error
- Replies: 3
- Views: 554
check_http error
Ran into an issue with the check_http plugin. /usr/local/nagios/libexec/check_http -H "website.com" No route to host HTTP CRITICAL - Unable to open TCP socket If I take out the website name, and put in the IP, it works. HTTP OK: HTTP/1.1 301 Moved Permanently - 299 bytes in 0.375 second re...
- Fri Feb 16, 2024 11:38 am
- Forum: Open Source Nagios Projects
- Topic: problem with check_dns
- Replies: 5
- Views: 2599
Re: problem with check_dns
Yes, I can run the dig command as the nagios user.
I get a successful answer.
I get a successful answer.
- Thu Feb 15, 2024 12:13 pm
- Forum: Open Source Nagios Projects
- Topic: problem with check_dns
- Replies: 5
- Views: 2599
Re: problem with check_dns
Just so it's here: this is the contents of check_dns_zone. I had to change the server names, to appease my security overloards. #!/bin/bash slave01=$(/usr/bin/dig @slave01.domain.com $1 SOA +short +notcp +time=1 +tries=1 +retry=1 | /bin/cut -d' ' -f3) slave02=$(/usr/bin/dig @slave02.domain.com $1 SO...
- Thu Feb 15, 2024 10:15 am
- Forum: Open Source Nagios Projects
- Topic: problem with check_dns
- Replies: 5
- Views: 2599
problem with check_dns
So, a bit of background. My nagios core, working on upgrading from rhel 6.10. nagios core 4.4.6. I have nagios configured to check dns on a dns master server. It checks the named files. These 2 files are modified, which then propagates down to the dns slaves. The dns master server was rhel 6.10. I u...
- Thu Jan 11, 2024 12:06 pm
- Forum: Open Source Nagios Projects
- Topic: set up instructions for nagios core
- Replies: 13
- Views: 32078
Re: set up instructions for nagios core
Thanks, I will take a loot at that documentation. I would have responded sooner, but when you live up north, this is a good time of year for vacation!
- Wed Dec 20, 2023 12:04 pm
- Forum: Open Source Nagios Projects
- Topic: set up instructions for nagios core
- Replies: 13
- Views: 32078
Re: set up instructions for nagios core
So, no ansible.cfg, so I used a linux.cfg.
I added an entry, which broke it. The error was:
Error: Could not find any hostgroup matching 'rhel-servers' (config file '/usr/local/nagios/etc/objects/linux.cfg', starting on line 32)
However, I can't seem to find how to set up hostgroups?
I added an entry, which broke it. The error was:
Error: Could not find any hostgroup matching 'rhel-servers' (config file '/usr/local/nagios/etc/objects/linux.cfg', starting on line 32)
However, I can't seem to find how to set up hostgroups?
- Fri Dec 15, 2023 12:12 pm
- Forum: Open Source Nagios Projects
- Topic: set up instructions for nagios core
- Replies: 13
- Views: 32078
Re: set up instructions for nagios core
I'll have to use that command as I attempt to add things. This is what it looks like, with nagios running. Nagios Core 4.4.13 Copyright (c) 2009-present Nagios Core Development Team and Community Contributors Copyright (c) 1999-2009 Ethan Galstad Last Modified: 2023-06-01 License: GPL Website: https...
- Thu Nov 30, 2023 2:42 pm
- Forum: Open Source Nagios Projects
- Topic: set up instructions for nagios core
- Replies: 13
- Views: 32078
Re: set up instructions for nagios core
I am unable to run that command.
/usr/local/nagios/sbin/nagios: no such file or directory.
I made a flub on my original post, I didn't list the OS, which is RHEL 8.8.
Most people are used to Ubuntu, but many commands do not work on both. That may be why this 1 didn't.
my apologies.
/usr/local/nagios/sbin/nagios: no such file or directory.
I made a flub on my original post, I didn't list the OS, which is RHEL 8.8.
Most people are used to Ubuntu, but many commands do not work on both. That may be why this 1 didn't.
my apologies.
- Tue Nov 28, 2023 4:50 pm
- Forum: Open Source Nagios Projects
- Topic: set up instructions for nagios core
- Replies: 13
- Views: 32078
Re: set up instructions for nagios core
Well, the problem is, I create the cfg file I want under /objects. Add it to the nagios.cfg. That is fine, and I can restart nagios.
As soon as I add something to the file I made, anything at all, even commented lines, nagios fails to restart.
As soon as I add something to the file I made, anything at all, even commented lines, nagios fails to restart.