Querying bsnmpd through /var/run/snmpd.sock
Eugene Grosbein
egrosbein at rdtc.ru
Sun Jan 23 15:35:44 UTC 2011
Hi!
bsnmpd running with mibII module opens local socket /var/run/snmpd.sock
mentioned in snmp_mibII(3) manual page:
The mibII module opens a socket that is used to execute all network
related ioctl(2) functions. This socket is globally available under the
name mib_netsock.
How do I use the socket? I hope to be able to call mib_find_if_sys() function
from another process using the socket. Is there a documentation for this?
Eugene Grosbein
More information about the freebsd-hackers
mailing list