From: Stef C. <ste...@do...> - 2017-09-07 10:53:39
|
On 2017-09-07 12:18, W.J.M. Nelis wrote: > Hello Stef, > >> >>>> I want to combine 2 OIDs in the threshold file so I can set the >>>> color if each OID has a certain status. >>>> >>>> I don't find a transform or threholds option to combine the status >>>> of the OIDs. >>>> >>>> Can this be done? >>> >>> Yes. Use transform WORST or transform BEST to create a new OID. >>> Attribute .color of this new OID is then used in the message. >> I tried that, but that does not work. >> I want to monitor a SAN switch port. >> The port status can be UP or DOWN. >> The admin port status can be UP or DOWN. >> >> There are 3 possible caes: >> PORT = UP, ADMIN = UP -> green >> PORT = DOWN, ADMIN = DOWN -> green >> PORT = DOWN, ADMIN = UP -> red >> >> I need a 'DIFF' threhold..... > > As one combination is not possible, (port up, admin down) you can also > play with boolean logic. > A) Make OID AdminStatus red if it is up (!) > B) Make OID PortStatus red if it is down > C) Make an OID CombinedStatus which is BEST(AdminStatus,PortStatus) > D) Show OID CombinedStatus in the message I already found the same solution. Bedankt ;) Stef |