Integrating nagios with nagiosgraph and drraw - URLproblem

Paulus, Jake jpaulus at sourceinterlink.com
Mon Nov 17 02:56:46 CET 2008


Hey Steve:

I don't know if it will work or not but you could try escaping the
semicolon. 

E.g.
://nagios.my.domain/drraw/drraw.cgi?Mode=view\;Graph=1226789709.8592

-Jake

-----Original Message-----
From: Steve Burton [mailto:steve at sliderule.demon.co.uk] 
Sent: Saturday, November 15, 2008 10:15 PM
To: nagios-users
Subject: [Nagios-users] Integrating nagios with nagiosgraph and drraw -
URLproblem

Hi,

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 SF.Net email is sponsored by the Moblin Your Move Developer's
challenge
Build the coolest Linux based applications with Moblin SDK & win great
prizes
Grand prize is a trip for two to an Open Source event anywhere in the
world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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