Frank Bulk | 29 Aug 15:32 2014
Picon

RE: Monitoring IPv6 website

But there is!  Try with a typical webbrowser or wget!

	root <at> nagios:/tmp# wget -6 www.timewarnercable.com
	--2014-08-29 08:31:57--  http://www.timewarnercable.com/
	Resolving www.timewarnercable.com... 2001:1998:840:b001::7
	Connecting to www.timewarnercable.com|2001:1998:840:b001::7|:80...
connected.
	HTTP request sent, awaiting response... 301 Moved Permanently
	Location: http://www.timewarnercable.com/en/residential.html
[following]
	--2014-08-29 08:31:57--
http://www.timewarnercable.com/en/residential.html
	Reusing existing connection to www.timewarnercable.com:80.
	HTTP request sent, awaiting response... 200 OK
	Length: 101218 (99K) [text/html]
	Saving to: âindex.htmlâ

	
100%[=======================================================================
======================================>] 101,218      389K/s   in 0.3s

	2014-08-29 08:31:58 (389 KB/s) - âindex.htmlâ

	root <at> nagios:/tmp#

So is something broken with check_http?

Regards,

Frank
(Continue reading)

Frank Bulk (iname.com | 27 Aug 15:31 2014
Picon

Monitoring IPv6 website

I monitor over 60 IPv6-enabled websites and the only one that's giving me
grief is TWC:

	root <at> nagios:/usr/lib/nagios/plugins# ./check_http -6 -H
www.timewarnercable.com
	CRITICAL - Socket timeout after 10 seconds
	root <at> nagios:/usr/lib/nagios/plugins#
	root <at> nagios:/usr/lib/nagios/plugins# ./check_http -6 -H
www.timewarnercable.com -v
	GET / HTTP/1.1
	User-Agent: check_http/v1.4.15 (nagios-plugins 1.4.15)
	Connection: close
	Host: www.timewarnercable.com

	CRITICAL - Socket timeout after 10 seconds
	root <at> nagios:/usr/lib/nagios/plugins#

Anyone else see this?  Why is check_http struggling here, while all other
sites work fine?

Frank

Arun A Menon | 27 Aug 08:19 2014

check_http for health probe

Hi

 

My backend real server hosts a web service that sends a string ‘200’ to indicate the server is up. I need to check for this string as part of health probe before establishing connection with this server. I am using check_http plugin as below for this purpose but the FarmGuardian status is always down. Kindly advise.

 

check_http -w 9 -c 9 -H HOST -s '200' -p PORT

 

Cheers, Arun

SunTec Business Solutions

Mobile : +919446040204

 


This electronic mail (including any attachment thereto) may be confidential and privileged and is intended only for the individual or entity named above. Any unauthorized use, printing, copying, disclosure or dissemination of this communication may be subject to legal restriction or sanction. Accordingly, if you are not the intended recipient, please notify the sender by replying to this email immediately and delete this email (and any attachment thereto) from your computer system...Thank You.
Ethan Shrago | 16 Jul 20:48 2014

use check_http to go CRIT on 404s?

Is there anyway for this check to go CRIT for a 404 response? If not, do you have any plugin suggestions for this functionality, or should I just create my own script?

Cheers,
Ethan Shrago 
Sr. System Administrator|SugarSync
+1.510.701.1203
Holger Weiß | 11 Jul 17:40 2014
Picon
Picon

Monitoring Plugins 2.0 released!

The Monitoring Plugins Development Team is proud to announce the first
release under the new project name: Version 2.0 of the Monitoring
Plugins!  This release comes with various enhancements and fixes
provided by more than twenty contributors.  Many thanks to all of you!

Let me also take the chance to welcome our newest team member, Sam
Kottler.  He already did lots of patch review for this release, and his
expertise will no doubt help us a lot in the future, so we're really
happy to have him on board!

One of the more significant changes in the new release is that the
Extra-Opts feature is now enabled by default.  This lets you use a
configuration file to specify plugin options.  For details, see:

	https://www.monitoring-plugins.org/doc/extra-opts.html

For a list of other major changes in this release, see:

	https://www.monitoring-plugins.org/news/release-2-0.html

Note that a few of them might break certain configurations (hence the
major version bump).  Those are mentioned at the end of that list, so
please be sure to check whether they might affect you.

You can get the tarball from our web site:

	https://www.monitoring-plugins.org/download.html

Happy monitoring!

Mike James | 2 Jul 16:48 2014

Question about check_procs alerting

I use check_procs to monitor java process RSS memory:

/usr/lib/nagios/plugins/check_procs -w 1573000 -c 1992000 -C java --metric RSS

The warning email looks like below. Is there a way to have the actual RSS value returned that caused the warning? 

***** Nagios *****

Notification Type: PROBLEM

Service: JBoss RSS memory
Host: ip-10-0-1-243
Address: 10.0.1.243
State: WARNING

Date/Time: Wed Jul 2 09:13:25 UTC 2014

Additional Info:

RSS WARNING: 1 warn out of 1 process with command name java

Regards, Mike

-- 
 

Michael James
Sr. Network Engineer
267-419-6400, x204
mike.james-8f6iZ/AGwKbQT0dZR+AlfA@public.gmane.org


The Premiere loyalty, rewards, and gifting platform
for consumer-focused brands and retailers.

Itai Ganot | 25 Jun 12:25 2014

Help with check_disk is required

Hi,

 

I’m using check_disk to monitor our DB server:

I’m running the command like so:, but I don’t understand when it returns me Warning or Critical… as the disk is almost full but the notifications I receive are shown as “Disk OK”:

 

[root <at> nagios plugins]# /usr/lib64/nagios/plugins/check_nrpe -H 10.200.248.11 -c check_disk -a '-W 90% -C 95% -p /'

DISK OK - free space: / 8681 MB (89% inode=95%); /var/lib/mysql 62617 MB (54% inode=99%); /dev 8191 MB (99% inode=99%); /dev/shm 8192 MB (100% inode=99%);| /=967MB;;;0;10078 /var/lib/mysql=52190MB;;;0;120951 /dev=0MB;;;0;8192 /dev/shm=0MB;;;0;8192

[root <at> nagios plugins]# /usr/lib64/nagios/plugins/check_nrpe -H 10.200.248.11 -c check_disk -a '-w 80 -c 100% -p /'

DISK CRITICAL - free space: / 8681 MB (89% inode=95%);| /=967MB;9998;0;0;10078

[root <at> nagios plugins]# /usr/lib64/nagios/plugins/check_nrpe -H 10.200.248.11 -c check_disk -a '-w 80 -c 100 -p /'

DISK OK - free space: / 8681 MB (89% inode=95%);| /=967MB;9998;9978;0;10078

[root <at> nagios plugins]# /usr/lib64/nagios/plugins/check_nrpe -H 10.200.248.11 -c check_disk -a '-w 90 -c 100 -p /'

DISK OK - free space: / 8681 MB (89% inode=95%);| /=967MB;9988;9978;0;10078

[root <at> nagios plugins]# /usr/lib64/nagios/plugins/check_nrpe -H 10.200.248.11 -c check_disk -a '-w 95 -c 100 -p /'

DISK OK - free space: / 8681 MB (89% inode=95%);| /=967MB;9983;9978;0;10078

[root <at> nagios plugins]# /usr/lib64/nagios/plugins/check_nrpe -H 10.200.248.11 -c check_disk -a '-w 96 -c 100 -p /'

DISK OK - free space: / 8681 MB (89% inode=95%);| /=967MB;9982;9978;0;10078

[root <at> nagios plugins]# /usr/lib64/nagios/plugins/check_nrpe -H 10.200.248.11 -c check_disk -a '-w 10 -c 20 -p /'

DISK OK - free space: / 8681 MB (89% inode=95%);| /=967MB;10068;10058;0;10078

[root <at> nagios plugins]# /usr/lib64/nagios/plugins/check_nrpe -H 10.200.248.11 -c check_disk -a '-w 80 -c 90 -p /'

DISK OK - free space: / 8681 MB (89% inode=95%);| /=967MB;9998;9988;0;10078

[root <at> nagios plugins]# /usr/lib64/nagios/plugins/check_nrpe -H 10.200.248.11 -c check_disk -a '-w 80% -c 90% -p /'

DISK CRITICAL - free space: / 8681 MB (89% inode=95%);| /=967MB;2015;1007;0;10078

[root <at> nagios plugins]# /usr/lib64/nagios/plugins/check_nrpe -H 10.200.248.11 -c check_disk -a '-w 20% -c 10% -p /'

DISK OK - free space: / 8681 MB (89% inode=95%);| /=967MB;8062;9070;0;10078

[root <at> nagios plugins]# /usr/lib64/nagios/plugins/check_nrpe -H 10.200.248.11 -c check_disk -a '-W 20% -C 10% -p /'

DISK OK - free space: / 8681 MB (89% inode=95%); /var/lib/mysql 62617 MB (54% inode=99%); /dev 8191 MB (99% inode=99%); /dev/shm 8192 MB (100% inode=99%);| /=967MB;;;0;10078 /var/lib/mysql=52190MB;;;0;120951 /dev=0MB;;;0;8192 /dev/shm=0MB;;;0;8192

[root <at> nagios plugins]# /usr/lib64/nagios/plugins/check_nrpe -H 10.200.248.11 -c check_disk -a '-w 20% -c 10% -p /'

DISK OK - free space: / 8681 MB (89% inode=95%);| /=967MB;8062;9070;0;10078

[root <at> nagios plugins]# /usr/lib64/nagios/plugins/check_nrpe -H 10.200.248.11 -c check_disk -a '-M -w 20% -c 10% -p /'

DISK OK - free space: /dev/ploop18793p1 8681 MB (89% inode=95%);| /dev/ploop18793p1=967MB;8062;9070;0;10078

[root <at> nagios plugins]# /usr/lib64/nagios/plugins/check_nrpe -H 10.200.248.11 -c check_disk -a '-w 20% -c 10% -p /'

DISK OK - free space: / 8681 MB (89% inode=95%);| /=967MB;8062;9070;0;10078

[root <at> nagios plugins]# /usr/lib64/nagios/plugins/check_nrpe -H 10.200.248.11 -c check_disk -a '-w 80 -c 90 -p /'

DISK OK - free space: / 8681 MB (89% inode=95%);| /=967MB;9998;9988;0;10078

[root <at> nagios plugins]#

[root <at> nagios plugins]#

[root <at> nagios plugins]# /usr/lib64/nagios/plugins/check_nrpe -H 10.200.248.11 -c check_disk -a '-W 89 -c 90 -p /'

DISK OK - free space: / 8681 MB (89% inode=95%);| /=967MB;;9988;0;10078

[root <at> nagios plugins]# /usr/lib64/nagios/plugins/check_nrpe -H 10.200.248.11 -c check_disk -a '-w 89 -c 90 -p /'

DISK OK - free space: / 8681 MB (89% inode=95%);| /=967MB;9989;9988;0;10078

[root <at> nagios plugins]# /usr/lib64/nagios/plugins/check_nrpe -H 10.200.248.11 -c check_disk -a '-w 89 -C 95 -p /'

DISK OK - free space: / 8681 MB (89% inode=95%); /var/lib/mysql 62617 MB (54% inode=99%); /dev 8191 MB (99% inode=99%); /dev/shm 8192 MB (100% inode=99%);| /=967MB;9989;;0;10078 /var/lib/mysql=52190MB;120862;;0;120951 /dev=0MB;8103;;0;8192 /dev/shm=0MB;8103;;0;8192

[root <at> nagios plugins]# /usr/lib64/nagios/plugins/check_nrpe -H 10.200.248.11 -c check_disk -a '-w 89 -c 95 -p /'

DISK OK - free space: / 8681 MB (89% inode=95%);| /=967MB;9989;9983;0;10078

[root <at> nagios plugins]# /usr/lib64/nagios/plugins/check_nrpe -H 10.200.248.11 -c check_disk -a '-w 89 -c 95 -p /var/lib/mysql'

DISK OK - free space: /var/lib/mysql 62617 MB (54% inode=99%);| /var/lib/mysql=52190MB;120862;120856;0;120951

[root <at> nagios plugins]# /usr/lib64/nagios/plugins/check_nrpe -H 10.200.248.11 -c check_disk -a '-w 50 -c 95 -p /var/lib/mysql'

DISK OK - free space: /var/lib/mysql 62617 MB (54% inode=99%);| /var/lib/mysql=52190MB;120901;120856;0;120951

[root <at> nagios plugins]# /usr/lib64/nagios/plugins/check_nrpe -H 10.200.248.11 -c check_disk -a '-w 50 -c 80 -p /var/lib/mysql'

DISK OK - free space: /var/lib/mysql 62617 MB (54% inode=99%);| /var/lib/mysql=52190MB;120901;120871;0;120951

[root <at> nagios plugins]#

 

I’m trying to set the notification like so:

Check_disk –a ‘-w 85% -c 90% /’

Then it should return Disk Warning because 89% disk is in use and it’s more than 85% but instead I receive an OK notification…

What could be the cause?


Thanks


Itai




This mail was sent via Matomy Media-Group Mail-SeCure System.






************************************************************************************
This footnote confirms that this email message has been scanned by
PineApp Mail-SeCure for the presence of malicious code, vandals & computer viruses.
************************************************************************************

Michael Berman | 18 Feb 00:01 2014
Picon

Michael Berman on vacation

I will be out of the office starting  02/14/2014 and will not return until 02/18/2014.

I'm in and out of the office on vacation from Friday Feb 14th to Monday Feb 17, returning Tuesday Feb 18th.

If something is urgent, please engage the oncall and/or open up a ticket through the appropriate helpdesk and/or contact the appropriate SDM or project manager.

For any issues that do not fall into the above catagories, I'll reply when I return.

Alex Domoradov | 17 Feb 21:02 2014
Picon

check_smtp and authentication

Hello all,

Is anyone could give a work example of the check_smtp plugin? I just
want to send mail via out smtp relay with authentication.

I have tried the following example

# ./check_smtp -H mail.example.net -A LOGIN -U user@... -P
1234567 --starttls -v --fqdn=www.example.net -C "mail
from:<user@...>" -C "rcpt
to:<user@...>" -C "DATA" -C
"Hello world" -C "." -C "quit"
HELOCMD: EHLO www.example.net
220 mail.psd2html.com ESMTP
sent EHLO www.example.net
250-mail.example.net
250-PIPELINING
250-SIZE 20971520
250-ETRN
250-AUTH LOGIN CRAM-MD5 PLAIN
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DSN
sent AUTH LOGIN
received 334 VXNlcm5hbWU6

sent YWtbC5jb20RvbW9yYWRvdkBwc2QyaHR=

received 334 UGFdvcmQ6zc3

sent TUxg5cXVQbTcDg==

received 235 2.7.0 Authentication successful

sent QUIT
received 221 2.0.0 Bye

SMTP OK - 1.693 sec. response time, 221 2.0.0 Bye
|time=1.692533s;;;0.000000

But at the same time in mail lof I get the following lines

Feb 17 19:33:13 mail postfix/smtpd[14943]: connect from
www.example.net[xxx.xxx.xxx.xxx]
Feb 17 19:33:14 mail postfix/smtpd[14943]: Anonymous TLS connection
established from www.example.net[xxx.xxx.xxx.xxx]: TLSv1.2 with cipher
ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)
Feb 17 19:33:15 mail postfix/smtpd[14943]: disconnect from
www.example.net[xxx.xxx.xxx.xxx]

How can I send some data?

John McGivern | 17 Jan 19:59 2014

RE: New project name: Monitoring Plugins

Hi there, can anyone tell me how to actually unsubscribe from these messages?  I cant find a link in the email
or on the site to unsubscribe.  I'd love to stay but we have moved away from nagios unfortunately.

-----Original Message-----
From: Help [mailto:help-bounces+jmcgivern=harriscomputer.com <at> monitoring-plugins.org] On Behalf
Of Michael Friedrich
Sent: Friday, January 17, 2014 11:38 AM
To: Monitoring Plugins Help; Monitoring Plugins Development
Subject: Re: [HEADS UP] New project name: Monitoring Plugins

fyi RHEL decided not to update anything trusting a comment by the new Nagios Plugin Development Team member
(commits: 1).

https://bugzilla.redhat.com/show_bug.cgi?id=1054340

--
DI (FH) Michael Friedrich

mail:     michael.friedrich@...
twitter:  https://twitter.com/dnsmichi
jabber:   dnsmichi@...
irc:      irc.freenode.net/icinga dnsmichi

icinga open source monitoring
position: lead core developer
url:      https://www.icinga.org
________________________________

John McGivern
Applications Specialist

P: 416-496-0149 x213
F: 416-496-3910
E: JMcGivern@...
        [http://www.harriscomputer.com/images/signatures/CorporateLogo.jpg]

[http://www.harriscomputer.com/images/signatures/CanadasBest.gif]

1400-2235 Sheppard Ave., East
Toronto, ON
M2J 5B5
www.harriscomputer.com<http://www.harriscomputer.com>

This message is intended exclusively for the individual or entity to which it is addressed. This
communication may contain information that is proprietary, privileged or confidential or otherwise
legally exempt from disclosure. If you are not the named addressee, you are not authorized to read, print,
retain, copy or disseminate this message or any part of it. If you have received this message in error,
please notify the sender immediately by e-mail and delete all copies of the message.


Gmane