Hi everyone, here's the problem, I have installed a monitoring server running nagios3 in my company and we must monitor a webpage since the clients work with it 24x7,but once I've downloaded the check_url.pl Perl-written Nagios plugin and I have placed it in the folder /usr/lib/nagios/plugin/ I run it from the command line
perl /usr/lib/nagios/plugin/check_url.pl http://info.xxxx.cu and it returns this. 200 .OK but when I try to run it from the plugin says: could,nt register the host info.xxxx.cu here are the conf files.Any help will be deeply apreciated,Thanks in advance. +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ define host { host_name info.xxxx.cu use generic-host } +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ define command{ command_name check_url command_line $USER1$/check_url $ARG1$ } ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ define service { use generic-service host_name info.xxxx.cu service_description URL info.xxxx.cu check_command check_url!http://info.xxxx.cu } ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Nagios-users mailing list [email protected] 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
