snmpget form c
Hi,
I need to get a snmp value by using c. In the terminal I can use the snmpget command with ip, communty and oid as parameters. I installed the libsnmp9-dev package, but I can't find a method that accepts the same parameters. Does this exist in some package? Thanks in advance, Tim |
Tim, hi
In the book 'Essential SNMP' by O'Reilly (page 67 to be exact) there's a listing of SNMP libraries in open source for various languages. Perl, C, C++. They list for C : Net-SNMP C Library at http://net-snmp.sourceforge.net, and for C++ : SNMP++ at http://rosegarden.external.hp.com/snmp++/ One of those should be what you are looking for Grif |
All times are GMT -5. The time now is 09:20 AM. |