Author Topic: Interface expected state  (Read 2374 times)

scuq

  • Newbie
  • *
  • Posts: 13
    • View Profile
Interface expected state
« on: February 08, 2013, 04:40:26 pm »
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

  • Lead Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 7140
    • View Profile
Re: Interface expected state
« Reply #1 on: February 20, 2013, 08:49:46 pm »
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.