Hello,
We are trying to write a Linux application that polls network devices and
writes the responses to a .csv file on the local hard drive. Also, we need
the input parameters to Net-SNMP to come from a separate config file.
Lastly, there is a requirement to run multiple queries in just one socket
connection, rather then just opening a socket, polling, and closing the
socket for each query.
Should we modify the agent that comes with Net-SNMP, or write a separate
"sub agent" that we could easily integrate with the rest of the package? I
read somewhere on the site that the first thing to look into may be MIB
modules. Any guidance on this subject would be helpful.
Below are just some thoughts/requirements we threw together on the subject.
Thanks in advance for any help.
-Mike & Jordan
------------------------------------------------------------------------------------------------------------------------
<< SNMP Application Functionality >>
[1] Read info from config file.
-- MIBs
-- capture dir
-- IP address
-- Polling interval
-- community name
-- version
-- key?
[2] Poll network devices.
-- Socket programming:
# Open one socket per device per polling period
# Submit multiple queries
# Close socket
# ????
# Profit
-- snmpget vs. snmpgetnext vs. snmpwalk vs. snmpgetbulk
[3] Capture SNMP data or send the data to a capture device.
-- Output data to .csv
[4] GPS time sync
-- Stamp data with GPS time for data analysis.
------------------------------------------------------------------------------
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing.
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders