problems with action_url/notes_url URL truncation

Marc Powell marc at ena.com
Wed Dec 10 20:32:59 CET 2008


On Dec 10, 2008, at 12:08 PM, Eric Pearce wrote:

> But the resulting email message seems to have lost all but the first  
> "&" character, so the URL now looks like:
>
> KVM URL: https://kvmswitch/cgi-bin/kvm.cgi?file=overview-dsruserID=1326154034index=25
>
> What am I missing here? I see others posting examples of URLs with  
> arguements, which implies that they are working for them.
> thanks

It's a stab but is '&' listed in  
nagios.cfg:illegal_macro_output_chars? I know that it doesn't list  
$HOSTACTIONURL$ as one to be cleaned but it sure seems to fit. I've  
tried figuring out if that action applies to that macro but the code  
there gets a little complicated for me to follow. It seems like it  
might be cleaned though.

--
Marc


------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
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