[drraw-users] Integrating nagios with nagiosgraph and drraw - URL problem

Steve Burton steve at sliderule.demon.co.uk
Tue Nov 18 04:08:47 MST 2008


Lindsay Whitbread wrote:
> Hi Steve,
>
> You've tried backslash escaping the semi colon?
>
>
> Lindsay,
sorry, I should have explained. I have tried both %3b and '\;'.
In the latter case the URL survives nagios unscathed but it remains as 
'\;' which then upsets Firefox so the link still doesn't work :)

Steve.
>
> Sent from my PDA.
>
> On 18/11/2008, at 7:51 PM, Steve Burton <steve at sliderule.demon.co.uk> 
> wrote:
>
>> Hi,
>>
>> I've posted this previously to the nagios-users list so I apologize in
>> advance if you've already seen this!
>>
>> I've been using nagios for a while (since 1.x) but recently I've been
>> inspired by David Josephsen's book to try to integrate nagios with
>> nagiosgraph and drraw.
>>
>> I have it all working on a test server **except** that I cannot link the
>> graphs I define with drraw using the 'action_url' in my hosts
>> definitions.
>> The problem is that URL produced by drraw has a semicolon in it.
>>
>> E.g. 
>> http://nagios.my.domain/drraw/drraw.cgi?Mode=view;Graph=1226789709.8592
>>
>> This value is sanitized by nagios and the URL is truncated before the
>> offending character.
>>
>> I tried using %3b in the config. file but then this is not decoded by
>> drraw.cgi.
>>
>> I had a look at the nagios source but I can't see where it chops the
>> line.
>>
>> Can anyone point me in the right direction?
>>
>> Steve.
>>
>> ______________________________________________________________________
>> This email has been scanned by the MessageLabs Email Security System.
>> For more information please visit http://www.messagelabs.com/email
>> ______________________________________________________________________
>> _______________________________________________
>> drraw-users mailing list
>> drraw-users at lists.taranis.org
>> http://web.taranis.org/mailman/listinfo/drraw-users
>


______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________



More information about the drraw-users mailing list