Re: ioctl returned -1 ??

Thomas Anders <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Paul Reilly wrote:
> It always happens twice per minute, irrespective of what snmpgets I run.

The routine in question is netsnmp_arch_interface_index_find() in
agent/mibgroup/if-mib/data_access/interface_linux.c, I think. There's a 30sec
default update interval which explains what you're seeing.

You may want to play with the debug tokens to find out the interface in
question. Try running snmpd e.g. with "-Daccess:interface,9:access:ifcontainer"
for a minute and scan through the output to find out which interface triggers
the error.


HTH,
Thomas

-- 
Thomas Anders (thomas.anders at blue-cable.de)

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.