monitoring url
Cook, Garry
GWCOOK at mactec.com
Thu Aug 26 19:55:13 CEST 2004
Julio,
It looks like that URL argument is not interpreted correctly by the
plugin, due to the '(' and ')'.
Try using a backslash to escape the parens, like so: \(PARTIDA\)
If that doesn't work, you might want to try adding the URL to a $USERx$
macro in the resource.cfg file, and then call the plugin like this
(where 'x' matches the number in resource.cfg):
root at monitorRH root]# /usr/lib/nagios/plugins/check_http -H achsnet -I
192.168.0.16 -u $USERx$ PENAGENT&LOGIN
Hope this helps.
-g
Sandoval, Julio wrote:
> Thank,
> I run the followind command in RH9:
> root at monitorRH root]# /usr/lib/nagios/plugins/check_http -H achsnet
> -I 192.168.0.16 -u
> http://achsnet.achs.cl/ACHS2/SITIOWEB/INICIOV3.NSF/(PARTIDA)?O
> PENAGENT&LOGIN
The system response:
bash: syntax error near unexpected token '('
I think that link is the problem. This link is Lotus Notes link.
I hope for yours comments.
Thank.
Julio Sandoval
CNA,MCP.
-----Mensaje original-----
De: Cook, Garry [mailto:GWCOOK at mactec.com]
Enviado el: Jueves, 26 de Agosto de 2004 13:26
Para: Sandoval, Julio; nagios-users at lists.sourceforge.net
Asunto: RE: [Nagios-users] monitoring url
Sandoval, Julio wrote:
> Hi everybody,
>
> I have installed Nagios 1.2 in RH9.
> I'm trying to monitor a especific URL, but i have not been able....
> Well i hope for yours help .
>
> Thank
> Julio Sandoval
If you really want help, it would be a good idea to post some more
information.
Eg.
What does your service template/command look like?
What is the result returned by the plugin from Nagios?
What is the result returned by the plugin when you run it from the
command line? Etc.
Also, if you send your email in plain text instead of HTML, more people
on the list will read it and possibly respond.
-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
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