-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I am trying to do something like this:
Target[<Target>]: 100 - ((<OID1>&<OID2>:[EMAIL PROTECTED]) + (<OID1>&<OID2>:[EMAIL PROTECTED])) Hosts x.x.x.1 and x.x.x.2 are two servers configured as a cluster. The OID1 and OID2 values return a percentage of a cluster resource, but only the server that is the active cluster can report on these values. The other cannot return any information. OID1 and OID2 are percentage values of a resource unused amount. The goal is to come up with the inverse of the answer (100-answer) to give a percentage of the resource used. I'm running MRTG in rrd database mode. The symptom is that since one of the two servers will always return an unknown value, it seems the Target line is skipped. I have configured the unknaszero option, but this does not appear to help at all. It appears that since a portion of the answer is an unknown, the entire calculation is considered an unknown. Can anyone offer a suggestion? T. Brian Granier GCIA, GCFW, GCIH, GCUX, CCSE, CHP, MCSE (NT4&W2K), et al. Information Security Architect Zebec Data Systems, Inc. -----BEGIN PGP SIGNATURE----- Version: PGP 8.0.3 iQA/AwUBQGmk/qnLgFwVjaYREQIfEgCgtp9E28FnTLtlzuTZ+bFjGhQMwusAmwUm eLW0Xy0gCJ5rTryZf4jYj4CE =huEd -----END PGP SIGNATURE----- -- Unsubscribe mailto:[EMAIL PROTECTED] 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
