I think I found a problem with snmpinterface thats caused by the index snmpinterface_nodeid_ifindex_unique_idx (nodeid,snmpifindex)
The problem being that interfaces with a secondary IP address have the same ifIndex. Steps to reproduce: On a linux server running snmp: ifconfig eth0 10.1.1.5 netmask 255.255.255.0 ifconfig eth0:1 10.1.1.6 netmask 255.255.255.0 now add the subinterface using Admin|Add Interface. If you're tailing capsd.log you'll see: org.postgresql.util.PSQLException: ERROR: duplicate key value violates unique constraint "snmpinterface_nodeid_ifindex_unique_idx" Wait a few, then go look at the node thats been created. What you should see is the 10.1.1.6 IP listed under "IP Interfaces" and the 10.1.1.5 IP listed under "Physical Interfaces" Double clicking the physical interface shows an exception. You'll also notice there is no "Resource Graphs" button, so the node is pretty broked. Now, if you add the real interface like a good person would, then everything gets found fine and happy. So the easy answer is "Don't do that." but, we have a couple of situations where adding the physical address isn't possible (the biggest one being a cluster where we want to monitor the cluster-ip and not the physical IP of the box) It's also possible that if you're running discovery then it'd be luck of the draw as to which IP gets checked. Thanks, Robert ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://www.creativitycat.com _______________________________________________ Please read the OpenNMS Mailing List FAQ: http://www.opennms.org/index.php/Mailing_List_FAQ opennms-devel mailing list To *unsubscribe* or change your subscription options, see the bottom of this page: https://lists.sourceforge.net/lists/listinfo/opennms-devel