[mrtg] (no subject) ADDED: External Monitoring Script..
Steve Shipway
s.shipway at auckland.ac.nz
Wed Jun 18 00:11:31 CEST 2008
> Target[UDPJITTER-RTTLATEST]:.1.3.6.1.4.1.9.9.42.1.2.10.1.1.2&(WaLK1.1.3.
> 6.1.4.1.9.9.42.1.3.5.1.5/WaLK1.1.3.6.1.4.1.9.9.42.1.3.5.1.4):secret at 192.
> 168.10.1
>
> 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.
Steve
More information about the mrtg
mailing list