I’ve set up a rule to notify when printer toner is below 10% and it is working.
toner.toner_type = “Toner” AND toner.toner_current < 10
Now I’m working on the corresponding alert template to generate an email with meaningful information. In the default alert template, there’s a @foreach loop that spits out a bunch of information.
I want to include some of this information - such as printer model (sysDescr) and cartridge description (toner_desc) - but NOT include other information that is not useful to humans - such as the sysObjectID and toner_oid. How can I go about doing that?
That looks amazing! Only problem is, I’m not a Linux guru and don’t really know what to do with that. Do I put that in an alert template, or is that something I do at the CLI of the server? I feel like you’ve given me what I need, but I’m too dumb to know what to do with it.