<div>hi,</div>
<div> </div>
<div>from the command line is used as : /usr/lib/nagios/plugins/check_url.pl <a href="https://172.16.1.78/blog">https://172.16.1.78/blog</a></div>
<div>and the check_url command in the commands.cfg looks like:</div>
<div>---------------------------------------------------------------------------------------</div>
<div># 'check_url' command definition<br>define command{<br>        command_name    check_url<br>        command_line    $USER1$/check_url.pl</div>
<div>        }</div>
<div>---------------------------------------------------------------------------------------------</div>
<div>the services.cfg file</div>
<div>-----------------------------------------------------------------------------------------------<br>services.cfg<br>-------------------------------------------------------------<br># URL SERVICES<br>define service{<br>
        use                             basic-service<br>        name                            url-service<br>        service_description             URL<br>        notification_interval           10<br>        notification_options            c,r
<br>        notification_period             24x7<br>        check_command                   check_url<br>        register                        0<br>        }<br>define service{<br>        use                             url-service
<br>        host_name                       <a href="http://kmp.mobiapps.biz">kmp.mobiapps.biz</a><br>        service_description             URL<br>        check_command                   check_url!https://172.16.1.78/blog
<br>        contact_groups                  einsteins<br>        }</div>
<div>----------------------------------------------------------------------------------------------------------------</div>
<div> </div>
<div>Regards</div>
<div>Shann</div>
<div> </div>
<div><span class="gmail_quote">On 1/6/07, <b class="gmail_sendername">Jason Martin</b> <<a href="mailto:jhmartin@toger.us">jhmartin@toger.us</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">What is the definition of check_url? That is probably where the<br>problem resides.<br>-Jason Martin<br><br>
On Fri, Jan 05, 2007 at 03:44:07PM +0100, Prashat N wrote:<br>> Hi list<br>><br>> I would like to use check_url to check one of the https pages. when i check throug the command line the plugin works fine. but does not work through the nagios configs. My 
services.cfg looks like<br>> ----------------------------------------------------------<br>> # URL SERVICES<br>> define service{<br>> use basic-service<br>> name url-service<br>> service_description URL<br>
> notification_interval 10<br>> notification_options c,r<br>> notification_period 24x7<br>> check_command check_url<br>> register 0<br>> }<br>> define service{<br>> use url-service<br>> host_name 
<a href="http://kmp.mobiapps.biz">kmp.mobiapps.biz</a><br>> service_description URL<br>> check_command check_url!https://172.16.1.78/blog<br>> contact_groups einsteins<br>> }<br>> -----------------------------------------------------------
<br>> what am i doing wrong ?<br>><br>> - Prashat N (massoo)<br>><br>> -----------------------<br>> The mailing list archive is found here:<br>> <a href="http://www.nagiosexchange.org/nagiosplug-help.32.0.html">
http://www.nagiosexchange.org/nagiosplug-help.32.0.html</a><br>><br>><br>> -------------------------------------------------------------------------<br>> Take Surveys. Earn Cash. Influence the Future of IT<br>
> Join SourceForge.net's Techsay panel and you'll get the chance to share your<br>> opinions on IT & business topics through brief surveys - and earn cash<br>> <a href="http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV">
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV</a><br>> _______________________________________________<br>> Nagiosplug-help mailing list<br>> <a href="mailto:Nagiosplug-help@lists.sourceforge.net">
Nagiosplug-help@lists.sourceforge.net</a><br>> <a href="https://lists.sourceforge.net/lists/listinfo/nagiosplug-help">https://lists.sourceforge.net/lists/listinfo/nagiosplug-help</a><br>> ::: Please include plugins version (-v) and OS when reporting any issue.
<br>> ::: Messages without supporting info will risk being sent to /dev/null<br><br>--<br>A cat is the universe's way of showing us perfection.<br>This message is PGP/MIME signed.<br><br><br></blockquote></div><br>
<br clear="all"><br>-- <br>Thanks & Regards<br>Prashant N