[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bigsister-general] graphtemplates.local


Hi all,

 

I’ld like to collect some values from the system and send them to BS via

 

bsadmin -d localhost perf 0 server1:traffic.eth0out.0 <value eth0 out>

bsadmin -d localhost perf 0 server1:traffic.eth0out.desc.0 “eth0 out”

 

bsadmin -d localhost perf 0 server1:traffic.eth0in.0 <value eth0 in>

bsadmin -d localhost perf 0 server1:traffic.eth0in.desc.0 “eth0 in”

 

….

 

These values should be graphed (RRD).

Unfortunately, I have no idea about the graphtemplates.local, which is obviously needed by this process. I tried a lot of options, but because of the lack of documentation I was successless.

 

The last try of of graphtemplates.local looks like:

-------------------------------------------

graph if_traffic

 

 input traffic.(.*).(\d*)

 value-identifier $HOST.traffic.$if

 value-type gauge

 input-limits 0..100000000

 input-interval $shortInterval

 input-deadtime $shortDeadTime

 input-var if traffic.(.*).desc.$GROUP

 

 graph-id $HOST.$GRAPH%

 legend $if

 

 maxcombine 8

 scale 0..100000000

 unit-label Byte

 size 400x120

 title Incoming traffic on $HOST

 

I Know it’s wrong L

What is the option ‘value-identifier’ and input-var for? I would like to adapt the legend dynamically and should look like

Eth0out or eth0in, etc. (see the bsadmin lines obove). Is there any documentation about the graph definitions?

 

Any hint is appreciated.

 

Thanks in advance

Michael

 

Attachment: smime.p7s
Description: S/MIME cryptographic signature


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.