Search found 102 matches

by linuser
Tue Jul 17, 2018 4:51 pm
Forum: Open Source Nagios Projects
Topic: nagios.log invalid mode
Replies: 1
Views: 884

nagios.log invalid mode

Hello all, I've got Nagios Core 4.3.2 running on RHEL 6.10. We've been having a strange problem with the nagios log file where it just stops logging data. It happens about once every couple weeks or so. We are harvesting the data from the nagios.log file to send to our NMS. The data in the log file ...
by linuser
Wed Jun 13, 2018 1:59 pm
Forum: Open Source Nagios Projects
Topic: Weird timestamp format being seen
Replies: 3
Views: 920

Re: Weird timestamp format being seen

Yes, we do actually. Are you saying this is the problem? Is there a way to keep debug logging enabled and have it use the normal timestamp? debug_level=32 # DEBUG VERBOSITY # This option determines how verbose the debug log out will be. debug_verbosity=1 # DEBUG FILE # This option determines where N...
by linuser
Wed Jun 13, 2018 1:36 pm
Forum: Open Source Nagios Projects
Topic: Weird timestamp format being seen
Replies: 3
Views: 920

Weird timestamp format being seen

Hi all running nagios core 4.3.2. on RHEL 6.8 Iv'e noticed in the nagios log file lines with a timestamp format I've never seen. Is this normal? How can I get these specific log entries to log with the usual timestamp? (unusual- possible problem?) [1528914023.932248] [032.0] [pid=14036] ** Service N...
by linuser
Mon Nov 14, 2016 11:12 am
Forum: Open Source Nagios Projects
Topic: nagios check_bl plugin returning (null) in web interface
Replies: 3
Views: 1723

Re: nagios check_bl plugin returning (null) in web interface

Resolved. In the script I had to change this: #use lib "/usr/lib64/nagios/plugins"; use lib "/usr/local/nagios/libexec"; to this use lib "/usr/lib64/nagios/plugins"; #use lib "/usr/local/nagios/libexec"; Effectively pointing the script to where my plugin actua...
by linuser
Mon Nov 14, 2016 10:50 am
Forum: Open Source Nagios Projects
Topic: nagios check_bl plugin returning (null) in web interface
Replies: 3
Views: 1723

nagios check_bl plugin returning (null) in web interface

I'm trying to use this perl plugin to check my mailserver for blacklisting. Running nagios core 3.5.1 #!/usr/bin/perl -w # # check_bl plugin for nagios # $Revision: 1.0 $ # # Nagios plugin designed to warn you if you mail servers appear in one of the # many anti-spam 'blacklists' # # By Sam Bashton,...
by linuser
Tue Nov 08, 2016 6:01 pm
Forum: Open Source Nagios Projects
Topic: Set service check time-outs when not using check_nrpe
Replies: 7
Views: 2123

Re: Set service check time-outs when not using check_nrpe

This particular plugin does not have a timeout option, even if it did, I'd have to set it to longer than our default global service timeout of 60 seconds. Hypothetically though, which one takes precedence, the global one in nagios.cfg or the plugin?
by linuser
Tue Nov 08, 2016 4:31 pm
Forum: Open Source Nagios Projects
Topic: Set service check time-outs when not using check_nrpe
Replies: 7
Views: 2123

Re: Set service check time-outs when not using check_nrpe

[root@nagios plugins]# ./check_rbl <ip address> All OK: SORBS, Distributed Sender, Spamhaus SBL/XBL/PBL, RFC-Ignorant, SpamCop, Mail-abuse.org, NJABL [root@nagios plugins]# su - nagios This account is currently not available. [root@nagios plugins]# sudo -s -u nagios bash-4.1$ cd /usr/lib64/nagios/p...
by linuser
Tue Nov 08, 2016 4:11 pm
Forum: Open Source Nagios Projects
Topic: Set service check time-outs when not using check_nrpe
Replies: 7
Views: 2123

Re: Set service check time-outs when not using check_nrpe

I have this in commands.cfg

Code: Select all

define command{
        command_name    check_rbl
        command_line    $USER1$/check_rbl <ip address>
        }
From the command line I run this: (works fine)

Code: Select all

./check_rbl <ip address>

From command line I run as root.
by linuser
Tue Nov 08, 2016 3:38 pm
Forum: Open Source Nagios Projects
Topic: Set service check time-outs when not using check_nrpe
Replies: 7
Views: 2123

Set service check time-outs when not using check_nrpe

Nagios Core 3.5.1. I am trying to use a blacklist plugin that I got from this link. https://exchange.nagios.org/directory/Plugins/Email-and-Groupware/check_rbl-2Epl/details I am running the plugin from the nagios server. I am not using check_nrpe to run it from the server being checked. The plugin w...