Reverse checks possible?

Rogelio Bastardo scubacuda at gmail.com
Tue Jul 10 04:02:02 CEST 2007


On 7/9/07, Patrick Morris <patrick.morris at hp.com> wrote:
>
> Sure. See the "negate" plugin.


Thanks!

For whatever reason, I'm not getting what I'm expecting.

Oddly, I get the same OK result, regardless of whether or not I use the
negate command.

e.g.

[root at term-server plugins]# ./check_http -H www.google.com
HTTP OK HTTP/1.0 200 OK - 6045 bytes in 0.101 seconds
|time=0.101285s;;;0.000000
size=6045B;;;0
[root at term-server plugins]#

and

[root at term-server plugins]# ./negate "/usr/lib/nagios/plugins/check_http -H
www.google.com"
HTTP OK HTTP/1.0 200 OK - 6043 bytes in 0.616 seconds
|time=0.615904s;;;0.000000
size=6043B;;;0


Not sure what exactly I'm doing wrong....

?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20070709/89bbbb94/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null


More information about the Users mailing list