Search found 11 matches

by ppear
Thu Dec 28, 2023 1:42 am
Forum: Open Source Nagios Projects
Topic: set up instructions for nagios core
Replies: 13
Views: 35722

Re: set up instructions for nagios core

If the previous post didn't help, can you post your sanitized nagios.cfg and linux.cfg? Most importantly the section the OBJECT CONFIGURATION FILES section on nagios.cfg and the hostgroup section of your linux.cfg.
by ppear
Wed Dec 20, 2023 3:23 am
Forum: Open Source Nagios Projects
Topic: set up instructions for nagios core
Replies: 13
Views: 35722

Re: set up instructions for nagios core

Can you add your config files to (EDIT) nagios.cfg, which breaks the service, and provide the results of the same -v command? Also, check the permissions on your newly created object files to ensure Nagios can read them. If Root owns them, I suspect that may be the issue.
by ppear
Mon Dec 04, 2023 9:37 am
Forum: Open Source Nagios Projects
Topic: set up instructions for nagios core
Replies: 13
Views: 35722

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. I have my nagios...
by ppear
Wed Nov 29, 2023 10:39 am
Forum: Open Source Nagios Projects
Topic: set up instructions for nagios core
Replies: 13
Views: 35722

Re: set up instructions for nagios core

Can you post some results from the "/usr/local/nagios/sbin/nagios -v /usr/local/nagios/etc/nagios.cfg" command?
by ppear
Wed Nov 29, 2023 10:37 am
Forum: Open Source Nagios Projects
Topic: nagios.service restart breaks checks
Replies: 10
Views: 32179

Re: nagios.service restart breaks checks

This one is still open for me, I haven't been able to locate any info using the latest results posted above.
by ppear
Tue Nov 21, 2023 8:35 am
Forum: Open Source Nagios Projects
Topic: Cannot lauch Nagios on Web
Replies: 2
Views: 8501

Re: Cannot lauch Nagios on Web

I had a similar issue during an install recently and it came down to the ownership and permissions of the htpasswd.users file located in /usr/local/nagios/etc. If root is the owner, change it to the nagios user. chown nagios:nagios htpasswd.users. Mine also has 664 perms.
by ppear
Tue Nov 21, 2023 2:11 am
Forum: Open Source Nagios Projects
Topic: nagios.service restart breaks checks
Replies: 10
Views: 32179

Re: nagios.service restart breaks checks

I watched my resources over a period and didn't see anything of concern. I have the VM provisioned with 32GB RAM and 16 CPU. I watched RAM hover at 20% utilization with a few brief CPU spikes. I do have Splunk Enterprise running on the same server but the environment being monitored is small from my...
by ppear
Fri Nov 17, 2023 4:12 am
Forum: Open Source Nagios Projects
Topic: nagios.service restart breaks checks
Replies: 10
Views: 32179

Re: nagios.service restart breaks checks

Of course. Thank you for taking a look. In the nagios.debug log, entries for "Unable to run scheduled service check at this time" start occurring. # 4096 = Interprocess communication # 8192 = Scheduling # 16384 = Workers debug_level=16 after nagios.service restart nagios.log [1700212009] w...
by ppear
Thu Nov 16, 2023 2:17 am
Forum: Open Source Nagios Projects
Topic: nagios.service restart breaks checks
Replies: 10
Views: 32179

Re: nagios.service restart breaks checks

Sure thing. I ran a check_ping from the shell as the nagios user before and after a nagios.service restart. Both manual checks are successful. Could it be something with scheduling that break, perhaps? Here are my results for sanity check. Checking from shell as -u nagios before nagios.service resta...
by ppear
Wed Nov 15, 2023 2:03 am
Forum: Open Source Nagios Projects
Topic: nagios.service restart breaks checks
Replies: 10
Views: 32179

Re: nagios.service restart breaks checks

That is correct. These results above are after the 'systemctl restart nagios.service' command is executed following validated changes. A full server OS reboot returns the nagios application to normal operation and these "unable to ..." lines in the log go away, checks run as expected.