Interface expected state

Started by scuq, February 08, 2013, 04:40:26 PM

Previous topic - Next topic

scuq

is it possible to set the default "interface expected state" for new devices?

it would be perfect so set it via a filtering script for example
if the ifAlias, ifName or a other pollable interface property contains a certain string -> set it to UP, DOWN or IGNORE

but if I could change the global default to IGORE this would also be fine, i'll try to recreate our hp-nnm monitoring which currently is monitoring
1500 access-switches, it's really annoying to set the expected interface state to ignore for all access-devices. i've tried it with a sql-query on the
database, it worked but i think there must be a more sophisticated way to do this.

thx

Victor Kirhenshtein

I have added new NXSL finction SetInterfaceExpectedState: http://wiki.netxms.org/wiki/NXSL:SetInterfaceExpectedState. You can use it in configuration poll hook to change interface expected state automatically.