Werner Flamme | 7 Jan 17:18 2016
Picon

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:

---snip---
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/12.1.0.2/grid --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
---pins---

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/12.1.0.2/grid
--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
Picon

--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
Picon

Spelling mistake in check_http

I noticed that both the documentation and program have a spelling mistake
https://www.monitoring-plugins.org/doc/man/check_http.html

'critcal' should be 'critical'

Regards,

Frank

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 170.94.181.3
PROCS WARNING: 194 processes

and the 'warning email' I get:

***** Nagios *****

Notification Type: PROBLEM

Service: HOST-PROCS
Host: secirs1.state.ar.us
Address: 170.94.164.70
State: WARNING

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
501-682-5231


Eliran Ka'atabi | 15 Dec 11:50 2015
Picon

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,

Eliran

Raghavendra | 4 Dec 12:50 2015
Picon

problem monitoring check_disk

Hi

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
Raghavendra
Team Lead
Unix Administrator
BBNL

David Darmon | 19 Nov 11:01 2015

Check Http

Hello,
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?

https://www.monitoring-plugins.org/doc/man/check_http.html

Thank you,
Best Regard.

David Darmon
NOC

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


Your Social Investment Network
www.eToro.com

Follow us on      

Please consider the environment before printing this email


Sam Shabani | 16 Nov 21:30 2015
Picon

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 .1.3.6.1.4.1.2.3.51.2.2.3.1.0 -C public 
SNMP OK - "    56% of maximum" | 
[root <at> localhost tmp]# /usr/lib64/nagios/plugins/check_snmp -H IP_ADDRESS -o .1.3.6.1.4.1.2.3.51.2.2.3.1.0 -C public -w 50
SNMP WARNING - *56* | iso.3.6.1.4.1.2.3.51.2.2.3.1.0=56;50;;



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

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
www.cloudflare.com
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

Hello,

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
Picon

check_imap_quota

Hello,

 

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:

 

IMAP QUOTA OK –

 

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!

 

Regards,

 

Henning


Gmane