[mrtg] (no subject) ADDED: External Monitoring Script..
s.shipway at auckland.ac.nz
Wed Jun 18 00:11:31 CEST 2008
> 126.96.36.199.188.8.131.52.184.108.40.206/WaLK220.127.116.11.18.104.22.168.22.214.171.124.5.1.4):secret at 192.
> In other words, Target:OID1&(value1/value2):secret at 192.168.10.1
You can't do this.
You can only use calculations between full OID PAIR definitions. You cannot put the calculation inside the OID pair definition.
pseudoZero&OID1:comm at host / OID3&OID3:comm at host + OID2&pseudoZero:comm at host
is ok though, I think, but check the MRTG documentation on the website - I'm doing this off the top of my head and I'm a bit rusty on this syntax.
There may be better ways to achieve this, though, by defining them as two separate targets and using option dorelpercent on the second.
More information about the mrtg