[mrtg] (no subject) ADDED: External Monitoring Script..

Steve Shipway s.shipway at auckland.ac.nz
Wed Jun 18 00:11:31 CEST 2008

> at 192.
> 168.10.1
> In other words, Target[]:OID1&(value1/value2):secret at

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 mailing list