net-snmp has a strange API that does not seem to allow us to detect errors while trying to connect to the master snmpd instance. When playing around with python-netsnmpagent, create a copy of run_simple_agent.sh named test.sh and modify as follows: agentXsocket tcp:localhost:9000 or similar. Do not change the python simple_agent.py line by intent. Running test.sh… Continue reading net-snmp API and connection error handling
Category: Coding
python-netsnmpagent 0.4.6 released
python-netsnmpagent version 0.4.6 has just been released.
python-netsnmpagent 0.4.5 released
python-netsnmpagent version 0.4.5 has just been released.
python-netsnmpagent 0.4.4 released
python-netsnmpagent version 0.4.4 has just been released.
python-netsnmpagent 0.4.3 released
python-netsnmpagent version 0.4.3 has just been released. This is a bugfix release: for Table objects, the optional counter variable was not cleared when the table’s clear() method was called.
python-netsnmpagent 0.4 released
python-netsnmpagent version 0.4 has just been released, more accidentally almost a month after 0.3. This release has only smaller changes that can be seen in the ChangeLog.
python-netsnmpagent 0.3 released
python-netsnmpagent version 0.3 has just been released. Among other things it now comes with a ChangeLog. Highlights:
Adding support for user-configurable DHCP options to libvirt
When using libvirt, you define virtual networks to facilitate interactions between different virtual machines and/or the outside world. Regardless whether you use virsh or virt-manager, the result will always be a piece of XML code defining the network.
netsnmpagent 0.1.1 Python module released
Today I made the first public release of a new project, the netsnmpagent Python module.
python-agentx: Add signal handlers for INT and TERM
And another patch for python-agentx: this one adds signal handlers for signals INT and TERM. This is necessary because python-agentx implements the main loop for your agent, anyway. Then it should also deal with termination handling when the agent either runs in foreground, ie. not daemonized, and CTRL-C is used to interrupt the main loop,… Continue reading python-agentx: Add signal handlers for INT and TERM