Werner Flamme | 7 Jan 17:18 2016

check_nrpe question

Hi everyone,

I have a problem with the execution of one certain command via nrpe. Other nrpe checks from the same
monitoring host to this database host work fine.

The nrpe service is provided via xinetd and runs as user nagios, group nagios.

When I am logged in as user nagios and execute the command given in nrpe.cfg manually, everything works.

When I look at the nrpe debug output, I only see:

Handling the connection...
Host is asking for command 'check_asm_usedspace' to be run...
Running command: HOME=~nagios /usr/bin/sudo -u oracle /usr/local/nagios/libexec/check_oracle_asm
--asm_home=/u01/app/ --action=usedspace --threshold DATA=85:99 --threshold REDO=85:99
Command completed with return code 1 and output:
Return Code: 1, Output: NRPE: Unable to read output

Run interactively, I get:

[nagios <at> oradevelop ~]$ HOME=~nagios /usr/bin/sudo -u oracle
/usr/local/nagios/libexec/check_oracle_asm --asm_home=/u01/app/
--action=usedspace --threshold DATA=85:99 --threshold REDO=85:99
[OK] Diskgroup used space: (RECO: 13.22%: OK) (REDO: 17.88%: OK) (DATA: 32.54%: OK)

Why is the output coming interactively, but is unreadable for nrpe?

I found by searching the web that there might be an environment setting COLUMN or COLUMNS, but this is not set
(Continue reading)

Lý Hiếu | 2 Jan 10:29 2016

--rate option in check_snmp return result by zero.

Dear monitoring-plugins assistant team.

I'm running Nagios Core 4.1.1 with nagios plugins 2.1.1 on CentOS 7 system and I have created below command_line:

$USER1$/check_snmp -H $HOSTADDRESS$ -P $ARG1$ -C $ARG2$ -o ifAdminStatus.$ARG3$,ifType.$ARG3$,ifInOctets.$ARG3$ -l 'Port status: ','Port type: ','Inbound traffic: ' -u '' -u '' -u 'octets/sec' -D ' - ' --rate

As I know that --rate option will apply for all OIDs in command. So that, ifAdminStatus and ifType will return result by 0 (zero).
So, how can I do to assign --rate option just for ifInOctets?

Hope to hearing from you soon.

Best regard,
Ly Hieu
Frank Bulk | 25 Dec 23:56 2015

Spelling mistake in check_http

I noticed that both the documentation and program have a spelling mistake

'critcal' should be 'critical'



Jeffrey Westgate | 21 Dec 17:15 2015

check_procs is doubling the answer...?

I'm confused by the different numbers.  Please help - I believe this is misreporting....

When I run it on the 'affected' box:

[root <at> secirs1<mailto:root <at> secirs1> plugins]# ./check_procs
PROCS OK: 76 processes

when running from my nagios server:

[root <at> nagios<mailto:root <at> nagios>]# /usr/lib64/nagios/plugins/check_procs -m PROCS
PROCS WARNING: 194 processes

and the 'warning email' I get:

***** Nagios *****

Notification Type: PROBLEM

Host: secirs1.state.ar.us

Date/Time: Mon Dec 21 09:33:41 CST 2015

Additional Info:

PROCS WARNING: 152 processes

Yes, it's an older box, Scientific Linux, but we didn't start getting warning until this past week.  so, I
believe the error is fairly new.  Load hasn't changed, as box is mostly idle.  Less than 80 processes is the
normal state of this machine.

And, the kicker - it only appears to be this box with the 'off' numbers, but we have ... several... similarly
built boxes that are reporting much more accurate numbers.

[root <at> secirs1<mailto:root <at> secirs1> plugins]# uname -a
Linux secirs1.state.ar.us 2.6.18-274.3.1.el5 #1 SMP Tue Sep 6 18:52:56 EDT 2011 x86_64 x86_64 x86_64 GNU/Linux

Jeff Westgate
DIS UNIX System Administration

Eliran Ka'atabi | 15 Dec 11:50 2015

how to compile Monitoring-Plugins for Shinken system

Dear Support,


First of all I want to thank you for the great project!!!


Now to my question:

I just installed Shinken monitoring system ver: 2.4.2

My Shinken folders as follow:


#etc-path = /etc/shinken

#var-path = /var/lib/shinken

#run-path = /var/run/shinken

#log-path = /var/log/shinken

#plugins-path = /var/lib/shinken/libexec



How can I compile the Monitoring-Plugins to match the Shinken folders?

Correct me if I'm wrong, But the default compile configuration is configured for Nagios Folders.


Thanks  in advance and best regards,


Raghavendra | 4 Dec 12:50 2015

problem monitoring check_disk


I have configured nagios in my server.
I wish to monitor disk space in nagios using check_disk plugin.
Whenever i check the status of the remote system I see that the space is 
displayed for localhost rather than remote host.

Please help me resolve this issue.


Thanks with Regards
Team Lead
Unix Administrator

David Darmon | 19 Nov 11:01 2015

Check Http

I found your explanation about Nagios Check_http plugins very helpful, I just have one question about the use of a certificate to be used in establishing the SSL session.
I try to use the -J argument, but it doesn't work for me.
There is a chance you will send me an example of how to use it?


Thank you,
Best Regard.

David Darmon

T: +972-73-2656637  |  F: +972-3-3730099  E: davidda-mIDcfuGpVKMAvxtiuMwx3w@public.gmane.org

Your Social Investment Network

Follow us on      

Please consider the environment before printing this email

Sam Shabani | 16 Nov 21:30 2015

Question regarding the function of check-snmp plugin

Hi Dear,

If the result of snmpget command was string , Could you please tell me how the check-snmp plugin works? It sounds that  the string convert to interger but  how does it find the integer parts of string ? 

The following is the output : 
[root <at> localhost tmp]# /usr/lib64/nagios/plugins/check_snmp -H IP_ADDRESS -o . -C public 
SNMP OK - "    56% of maximum" | 
[root <at> localhost tmp]# /usr/lib64/nagios/plugins/check_snmp -H IP_ADDRESS -o . -C public -w 50
SNMP WARNING - *56* | iso.;50;;

Thanks a lot ,
Frank Bulk | 11 Nov 07:26 2015

check_http bug with SSL?

Is this a bug that's resolved in a later release?

root <at> nagios:/usr/lib/nagios/plugins# ./check_http --ssl -p 443 -H
CRITICAL - Cannot make SSL connection.
15408:error:14077438:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert
internal error:s23_clnt.c:607:
root <at> nagios:/usr/lib/nagios/plugins#
root <at> nagios:/usr/lib/nagios/plugins# ./check_http --version
check_http vv2.1-5-g668ef (monitoring-plugins 2.1)
root <at> nagios:/usr/lib/nagios/plugins#

Jerico Rubion | 2 Nov 07:01 2015

Usage of check_udp plugin


Would like to inquire example of how to use this specific plugin.

I used this command and nothing happened,

./check_udp -H <hostname> -p 1812

I want to monitor if port 1812 from Network Policy Server is listening, what should be the strings or settings that must be used in the argument of this command. Thank you

Jerico M. Rubion | Systems Engineer | IT Office - Manila | ULLINK Ltd |  Direct: +63 2-459-4858 | Mobile: +63178194868 |  Email: jerico.rubion-AaKzzmagMfXQT0dZR+AlfA@public.gmane.org | 5th Floor Multinational Bancorporation Centre | 6805 Ayala Avenue, Makati City, Philippines 1226

The information contained in or attached to this email is strictly confidential. If you are not the intended recipient, please notify us immediately by telephone and return the message to us.
hen darlig | 26 Oct 13:27 2015




we installed this Plugin on our Icinga 2 Server: http://manpages.ubuntu.com/manpages/trusty/man7/check_imap_quota.7.html because we would like to use the command check_imap_quota to monitor the growth of our Exchange Mailboxes.

There seems to be nothing wrong with the script itself, we can contact the server with the right login credentials and imap port but we get the following result:




The script does not display the current size of the Mailbox ($quotaPercentage is missing).


We also get the same result when we change the these values to zero:


my $quotaPercentageWarning = 80;
my $quotaPercentageCritical = 90;


Maybe someone can give me a hint? Thx!