Search found 237 matches

by kg2857
Thu Nov 23, 2023 3:41 am
Forum: Open Source Nagios Projects
Topic: set up instructions for nagios core
Replies: 13
Views: 31964

Re: set up instructions for nagios core

https://www.google.com/search?q=nagios+core+configuration+files&sca_esv=584142833&sxsrf=AM9HkKkZ3v3fDMksorp4q_p2wzhQIjWyiQ%3A1700728753323&ei=sQ9fZfakE8DDqtsP0oSI2Ao&oq=nagios+core+conf&gs_lp=Egxnd3Mtd2l6LXNlcnAiEG5hZ2lvcyBjb3JlIGNvbmYqAggAMgUQABiABDIFEAAYgAQyBRAAGIAEMgYQABgWGB4y...
by kg2857
Thu Nov 23, 2023 3:32 am
Forum: Open Source Nagios Projects
Topic: execvp(/bin/sh, ...) failed. errno is 7: Argument list too long
Replies: 5
Views: 21693

Re: execvp(/bin/sh, ...) failed. errno is 7: Argument list too long

There was a similar recent post that wound up being a service that was doing a find on a dir that contained a massive number of files. 100k is a lot for an argument. I think I'd be looking for something similar.
by kg2857
Wed Nov 15, 2023 10:45 pm
Forum: Open Source Nagios Projects
Topic: nagios.service restart breaks checks
Replies: 10
Views: 29811

Re: nagios.service restart breaks checks

Try running a check from the shell as defined by the service as the nagios user and read the output.
by kg2857
Tue Nov 07, 2023 11:55 pm
Forum: Nagios XI
Topic: Bulk changes fail silently if config files can't be verified
Replies: 18
Views: 19333

Re: Bulk changes fail silently if config files can't be verified

Sorry, I didn't know the OP was checking on network gear...
by kg2857
Tue Nov 07, 2023 1:50 am
Forum: Nagios XI
Topic: Bulk changes fail silently if config files can't be verified
Replies: 18
Views: 19333

Re: Bulk changes fail silently if config files can't be verified

Templates, hostgroups and generic services should typically be used so that for example only one check_cpu service should be defined (for an OS type). Using the wizards to define multiple again as an example check_cpu services will make for an unmanageable system. This may not be what's happening, b...
by kg2857
Tue Nov 07, 2023 1:40 am
Forum: Open Source Nagios Projects
Topic: Active Check Following a Non-OK Check Occurs Too Soon
Replies: 6
Views: 9204

Re: Active Check Following a Non-OK Check Occurs Too Soon

The OP may want to look into the nagios scheduler and it's timing, which is somewhat inexact due to having many services to schedule in a limited time.
by kg2857
Tue Nov 07, 2023 12:58 am
Forum: Nagios XI
Topic: NCPA Powershell Output
Replies: 2
Views: 6150

Re: NCPA Powershell Output

The nagios documentation if you read it says plugins should produce a single line of output. If running the plugin from the shell produces the output you desire, but running it from ncpa via the nagios server doesn't it seems that ncpa is enforcing the nagios requirements. BTW nrpe will happily prod...
by kg2857
Tue Nov 07, 2023 12:13 am
Forum: Nagios Log Server
Topic: Custom script Output
Replies: 3
Views: 17860

Re: Custom script Output

To add to the last post, the OP probably needs to output to a file and in the format that conforms to one of the syslog RFCs. An internet search can provide links to the RFCs. Then the OP can define a rsyslog or other log forwarder to send the log data to NLS.
by kg2857
Mon Nov 06, 2023 2:07 am
Forum: Open Source Nagios Projects
Topic: Unknown Services
Replies: 2
Views: 2931

Re: Unknown Services

The OP needs to run the check commands from the shell and figure out why they fail. I'd start with the disk check.