Search found 8 matches

by dhhh
Tue Mar 15, 2022 10:34 pm
Forum: Open Source Nagios Projects
Topic: Windows Nagios notification sent as a .bin file
Replies: 2
Views: 654

Re: Windows Nagios notification sent as a .bin file

I set the debug level to 32, and the alert was finally triggered recently but it doesn't show ANY special characters at all in the log (and it doesn't show any different output in the log at all compared to when the debug level was on its default level). Have set it to "-1" (i.e. "Eve...
by dhhh
Mon Mar 07, 2022 12:53 am
Forum: Open Source Nagios Projects
Topic: Windows Nagios notification sent as a .bin file
Replies: 2
Views: 654

Windows Nagios notification sent as a .bin file

I have an issue similar to https://support.nagios.com/forum/viewtopic.php?f=7&t=25449&start=20similar%20issue%20to%20this with one service check I added recently only sending alert notifications as attachments in Nagios Core v3.x.x (old, I know). It's the first Windows log service check I've...
by dhhh
Mon Oct 11, 2021 7:06 pm
Forum: Open Source Nagios Projects
Topic: Monitoring over SSH tunnel?
Replies: 0
Views: 728

Monitoring over SSH tunnel?

I’m looking for a way to monitor a server over an SSH tunnel due to the Nagios server not being able to connect to a server directly at all. The Nagios monitoring server can’t connect to serverB directly on any port. It CAN connect to the NRPE port (5666) on serverB via serverA using an SSH tunnel. ...
by dhhh
Tue Aug 10, 2021 8:13 pm
Forum: Open Source Nagios Projects
Topic: check_log not outputting CRITICAL line content
Replies: 2
Views: 1178

Re: check_log not outputting CRITICAL line content

NRPE does not run commands in a shell (it uses popen), and subsequently cannot perform Bash substitution as you're attempting to do here: You're right. Removing that from the line helped make it work. Interstingly, although my original post doesn't have it, I used bash substitution for the log file...
by dhhh
Mon Aug 09, 2021 5:41 am
Forum: Open Source Nagios Projects
Topic: check_log not outputting CRITICAL line content
Replies: 2
Views: 1178

check_log not outputting CRITICAL line content

I'm trying to get the check_log plugin working on a simple application log file that checks for multiple errors in a single line but the Status Information field in the Nagios dashboard only outputs "(1)" and not the line that triggered the CRITICAL alert when it correctly detects one of t...
by dhhh
Thu Apr 15, 2021 6:20 pm
Forum: Open Source Nagios Projects
Topic: "--refuse=warn" not working from monitoring server
Replies: 3
Views: 2874

Re: "--refuse=warn" not working from monitoring server

I even tried compiling the source code version of the v2.3.3 release of nagios plugins on the CentOS server and using check_tcp from that but I get the same "NRPE: Unable to read output" response when the service check is executed from the Nagios monitoring server (again, the command line ...
by dhhh
Sat Apr 03, 2021 1:01 am
Forum: Open Source Nagios Projects
Topic: "--refuse=warn" not working from monitoring server
Replies: 3
Views: 2874

Re: "--refuse=warn" not working from monitoring server

Thanks for the reply. Yes, The Nagios monitoring server is using check_nrpe plugin (i.e not the “weird” option lol). The Debian and CentOS servers being monitored have their nrpe.cfg configured to use check_tcp. So to outline, the Nagios monitoring server has a service with a check_command line of: ...
by dhhh
Tue Mar 30, 2021 9:31 pm
Forum: Open Source Nagios Projects
Topic: "--refuse=warn" not working from monitoring server
Replies: 3
Views: 2874

"--refuse=warn" not working from monitoring server

Hi, I am trying to get a service check on an app running as a service with check_tcp. This is on a CentOS 7 server with nagios-plugins-2.3.3-2. I'm using "check_tcp -p <port # of service here> --refuse=warn" for the check_command. It returns "NRPE: Unable to read output" on the N...