[mrtg] trying to use external script for graphing

John Barbieri jbarbieri at metrocastcablevision.com
Mon Dec 13 16:56:43 MET 2004


hello list.

im trying to use an external script to do graphing. when i run the 
script manually, i get output from the script, but nothing appears on 
the graphing.

the output looks something like this:

box-prompt: /bin/sh /home/jbarbieri/scripts/netscreen3.sh
2
27433
box-prompt:


the numbers do not reset to 0 when they are read, and the DO increment, 
so using gauge wont help for that.


the number it increments is small, but im not to sure that has anything 
to do with it, eg, over a 5 minute period, the top number wont move, but 
the bottom might move by 5.





Am i missing something here???


config:

#### Number of Tear Drop and UDP Flood Attacks

Target[attack]: `/bin/sh /home/jbarbieri/scripts/netscreen3.sh`
MaxBytes[attack]: 1000
Title[attack]: Belmont NetScreen
PageTop[attack]: <H1>Number of Tear Drop and UDP Flood Attacks</H1>
Options[attack]: growright, nopercent, noinfo
YLegend[attack]: # of Attacks
ShortLegend[attack]: Attacks
Legend1[attack]: # of attacks
Legend2[attack]: # of attacks
LegendI[attack]: # of Tear Drop attacks:
LegendO[attack]: # of UDP Flood attacks:
WithPeak[attack]: ymw



thanks in advanced

J#### Number of Tear Drop and UDP Flood Attacks

#Target[attack]: 
1.3.6.1.4.1.3224.3.2.1.4.1&1.3.6.1.4.1.3224.3.2.1.10.1:sway231nec at 65.175.128.43
Target[attack]: `/bin/sh /home/jbarbieri/scripts/netscreen3.sh`
MaxBytes[attack]: 1000
Title[attack]: Belmont NetScreen
PageTop[attack]: <H1>Number of Tear Drop and UDP Flood Attacks</H1>
Options[attack]: growright, nopercent, noinfo
YLegend[attack]: # of Attacks
ShortLegend[attack]: Attacks
Legend1[attack]: # of attacks
Legend2[attack]: # of attacks
LegendI[attack]: # of Tear Drop attacks:
LegendO[attack]: # of UDP Flood attacks:
WithPeak[attack]: ymw


John Barbieri

--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the mrtg mailing list