Hi,
We're trying to monitor a fleet of printers which, unfortunately, the supplier is unable to explain why, when we poll the OID for the toner level, in some instances the printer will ask to replace the toner at say, 5% but will not ask to replace a toner with a level of 0%.
The only way we can know which toner to replace is to poll the sub-tree of an OID for error messages. This main OID (iso.3.6.1.2.1.43.18.1.1.8.1) will create a sub-tree (iso.3.6.1.2.1.43.18.1.1.8.1.xxx) that contains various error messages (e.g. iso.3.6.1.2.1.43.18.1.1.8.1.1 = "toner is out (cyan)" and iso.3.6.1.2.1.43.18.1.1.8.1.2 = "paper jam tray 1").
I've managed to figure out how to create a discovery rule that will return item prototypes that will contain all error messages present.



Now my problem is, how do I create a trigger that searches thru these item prototypes for a specific string like "toner is out (cyan)"? Please note, at any given time, there could be any number of items under the main OID.
Any help is appreciated.
We're trying to monitor a fleet of printers which, unfortunately, the supplier is unable to explain why, when we poll the OID for the toner level, in some instances the printer will ask to replace the toner at say, 5% but will not ask to replace a toner with a level of 0%.
The only way we can know which toner to replace is to poll the sub-tree of an OID for error messages. This main OID (iso.3.6.1.2.1.43.18.1.1.8.1) will create a sub-tree (iso.3.6.1.2.1.43.18.1.1.8.1.xxx) that contains various error messages (e.g. iso.3.6.1.2.1.43.18.1.1.8.1.1 = "toner is out (cyan)" and iso.3.6.1.2.1.43.18.1.1.8.1.2 = "paper jam tray 1").
I've managed to figure out how to create a discovery rule that will return item prototypes that will contain all error messages present.
Now my problem is, how do I create a trigger that searches thru these item prototypes for a specific string like "toner is out (cyan)"? Please note, at any given time, there could be any number of items under the main OID.
Any help is appreciated.
Comment