How to use cgi URL with urlize ?

Davide Depaoli davide.depaoli at labinf.it
Fri Sep 6 10:52:08 CEST 2002


Hi to all,
I have the following problem:
I'm using MRTG with RRDTool to graph some resources. I want to see these
graphs using the urlize and passing the URL of my graph.
These is a part of my checkcommands.cfg file :

WORKING
--------------------
# 'check_cpu_load' command definition
define command{
        command_name    check_cpu_load
        command_line    $USER1$/urlize
http://212.141.129.146/nagios/cgi-bin/14all.cgi?cfg=rrd$HOSTNAME$.cfg
$USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v CPULOA
D -l 10,80,95,60,80,95,1440,80,95
        }
--------------------
In this mode I see all graphs for my server, but I would to see only CPU
LOAD graph.

If I reference only the cgi?cfg parameter all works fine, but if I want to
use some cgi options in URL the urlize doesn't works.

DOESN'T WORKING
-------------------
# 'check_cpu_load' command definition
define command{
        command_name    check_cpu_load
        command_line    $USER1$/urlize
http://212.141.129.146/nagios/cgi-bin/14all.cgi?cfg=rrd$HOSTNAME$.cfg&log=$H
OSTNAME$_cpu $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v CPULOA
D -l 10,80,95,60,80,95,1440,80,95
        }
----------------
In this mode I see only CPU LOAD graph.

thanks to everybody helps me.
Davide


-------------------------------------------------------------
Davide Depaoli
HMS SIPAC SpA - Strada Moleto III, 2
13048 Santhia' (VC)
Phone: +39 0161 928749
Mobile: +39 329 8633999
davide.depaoli at labinf.it
www.hms.labinf.it




-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390




More information about the Users mailing list