Escaping in Serviceextinfo notes_url

Matthew Wilson matthewwilson at dsl.pipex.com
Mon Feb 2 16:41:06 CET 2004


Greetings list,
I use a service extinfo definition wtih

notes_url=apan.cgi?host=$HOSTNAME$&service=PING

to save me changing the url for each host.  However, when Nagios
interpolates a host which has '-' in it's name, it is escaped to %2D,
causing Apan not to recognise it.  Any ideas how I can prevent this?

cheers
Matthew.



-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
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