how to configure a second host in rrdutil

Started by Arie Gerszt, August 02, 2004, 09:29:14 AM

Previous topic - Next topic

Arie Gerszt

Hello,

I added a second host into rrdutil.conf.

auth2     = http://www.host2.net, snmp, ro_communitymonitor20 = http://www.host2.net, load, load, cpu


My problem is:
- rrdutil does not create the rrd files
- there is no error msg running -a update
- the cgi doesn't show the second host in the drop down menu

Could anyone please send me or pst a working example of a rrdutil.conf with multiple hosts? Thank in advance.

Arie

matt

Here's the relevant tidbits for three hosts, exactly what you see on my "rrdutil demo" site at http://matt.simerson.net/cgi-bin/rrdutil.cgi." target="_blank">http://matt.simerson.net/cgi-bin/rrdutil.cgi.  the monitoring is for a) dual 3GHz freebsd, my wifes iMac, and my dual G5.

auth1     = localhost, snmp,      2,          secret
monitor1  = localhost, disk,      da0,        disk_da0
monitor2  = localhost, disk,      da1,        disk_da1
<snip>

imac     = imace, snmp,    2,      secret
imac1    = imace, load,    load,   load
imac2    = imace, net,     lo0,    net_loop
imac3    = imace, net,     en0,    net_100MBit
imac4    = imace, net,     en1,    net_wireless
imac5    = imace, storage, /,      disk_main

g5       = g5e, snmp,    2,      secret
g5_1     = g5e, load,    load,   load
g5_2     = g5e, net,     lo0,    net_loop
g5_3     = g5e, net,     en0,    net_1000MBit
#g5_4     = g5e, net,     en1,    net_wireless
g5_5     = g5e, storage, /,      disk_main

Rob Lensen

Didn't know that it is possible this way, made my own configuration this way:
auth1     = localhost, snmp,      2,        foo
monitor1  = localhost, disk,      da0,      da0
monitor2  = localhost, load,      load,     cpu
monitor3  = localhost, net,       lo0,      loop
<snip>

auth2     = mysql1.roods.com, snmp,     2,        foo
monitor19  = mysql1.roods.com, disk,      da0,      da0
monitor20  = mysql1.roods.com, load,      load,     cpu
monitor21  = mysql1.roods.com, net,       lo0,      loop