I have a config that I use for measuring packet loss that I would like
to essentially invert and turn into an availability graph.
The config I have displays an outage in RED. I would like the
availability graph to display in GREEN when pings are successful.
How would I go about this?
Here is what I use today for loss.
##################################################################
# packet loss
##################################################################
routers.cgi*Graph[172.17.24.20.loss]: mygraph nototal noaverage details
noo
routers.cgi*InMenu[172.17.24.20.loss]: no
Target[10.20.30.40.loss]: `/usr/bin/mrtg-ping-probe -t 42 -p loss/loss
10.20.30.40`
Title[10.20.30.40.loss]: KamPVC-1 Packet Loss Analysis
PageTop[10.20.30.40.loss]: <H1>Packet Loss Analysis</H1>
MaxBytes[10.20.30.40.loss]: 100
AbsMax[10.20.30.40.loss]: 101
WithPeak[10.20.30.40.loss]: ymwd
Options[10.20.30.40.loss]: gauge
SetEnv[10.20.30.40.loss]: MRTG_INT_DESCR="KamPVC-1 Packet Loss"
YLegend[10.20.30.40.loss]: % Packet Loss
ShortLegend[10.20.30.40.loss]: %
Legend1[10.20.30.40.loss]: % Packet Loss
Legend2[10.20.30.40.loss]: % Packet Loss
Legend3[10.20.30.40.loss]: Maximal 5 Minute % Packet Loss
Legend4[10.20.30.40.loss]: Maximal 5 Minute % Packet Loss
LegendI[10.20.30.40.loss]: % loss:
LegendO[10.20.30.40.loss]: % loss:
routers.cgi*Mode[mygraph]: generic
routers.cgi*GraphStyle[mygraph]: stack
routers.cgi*Colours[mygraph]: #ff0000 #ff0000 #ff0000 #ff0000
routers.cgi*Title[mygraph]: KamPVC-1 Packet Loss
routers.cgi*ShortDesc[mygraph]: KamPVC-1 Packet Loss
routers.cgi*InSummary[mygraph]: yes
#EOF
Thanks -Rob-
[email protected] <mailto:[email protected]>
This email is intended only for the addressee. It may contain confidential or
proprietary information that cannot be disclosed without BCLC's permission. If
you have received this email in error, please notify the sender immediately and
delete the email.
_______________________________________________
mrtg mailing list
[email protected]
https://lists.oetiker.ch/cgi-bin/listinfo/mrtg