Plugin help

af.at.work at gmail.com af.at.work at gmail.com
Fri Jul 22 21:00:54 CEST 2011


I extended the check_curl plugin from Nagios Exchange to allow the
inclusion of cookies. While it works like a charm from the CLI, I am
having trouble getting the check command to work within the configs.

I added the following to commands.cfg:

# 'check CURL' command definition

define command{
        command_name    check_curl
        command_line    $USER1$/php check_curl.php -H $HOSTADDRESS$
        }

And setup a new hostgroup, host and service however whenever I
validate the config the following error is returned:

Error: Service check command 'check_curl -U
http://domain.name/home.aspx -F -G Welcome' specified in service
'Home' for host 'HomeTest' not defined anywhere!

------------------------------------------------------------------------------
10 Tips for Better Web Security
Learn 10 ways to better secure your business today. Topics covered include:
Web security, SSL, hacker attacks & Denial of Service (DoS), private keys,
security Microsoft Exchange, secure Instant Messaging, and much more.
http://www.accelacomm.com/jaw/sfnl/114/51426210/
_______________________________________________
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