All good things come in threes… consider the following code snippet that uses python-agentx: axd.RegisterVar(“a”, 0) axd.RegisterVar(“b”, 1) snmpwalk will show both a and b correctly. Now consider the following code: axd.RegisterVar(“a”, 0) axd.RegisterVar(“b”, 1) axd.RegisterVar(“a”, 2) snmpwalk will show a only. Which is a bug. Why?
Author: Pieter Hollants
Float variables not working with python-agentx
I just found another bug in current versions of the python-agentx. If, in your agent, you do something like this: cpuTemp = 24.5 axd.RegisterVar(“cpuTemp”, cpuTemp) you will hit Internal error in type switching error messages.
“Error: OID not increasing” when declaring SNMP tables with python-agentx
At work, I’m currently working with python-agentx to implement an AgentX-based SNMP agent. Testing around with snmpwalk, I got the following error: $ snmpwalk -Of -v2c -c public localhost DFS-HW-MIB::cpus .iso.org.dod.internet.private.enterprises.dfs.systemhaus.dfsHwMIB.cpus.cpusNumber = INTEGER: 2 .iso.org.dod.internet.private.enterprises.dfs.systemhaus.dfsHwMIB.cpus.cpusTable.cpuEntry.0 = INTEGER: 0 .iso.org.dod.internet.private.enterprises.dfs.systemhaus.dfsHwMIB.cpus.cpusTable.cpuEntry.cpuIndex.1 = INTEGER: 0 .iso.org.dod.internet.private.enterprises.dfs.systemhaus.dfsHwMIB.cpus.cpusTable.cpuEntry.cpuIndex.2 = INTEGER: 1 .iso.org.dod.internet.private.enterprises.dfs.systemhaus.dfsHwMIB.cpus.cpusTable.cpuEntry.cpuStatus.1 = INTEGER: OK(1) .iso.org.dod.internet.private.enterprises.dfs.systemhaus.dfsHwMIB.cpus.cpusTable.cpuEntry.cpuStatus.2 = INTEGER: OK(1) .iso.org.dod.internet.private.enterprises.dfs.systemhaus.dfsHwMIB.cpus.cpusTable.cpuEntry.cpuNumCores.1… Continue reading “Error: OID not increasing” when declaring SNMP tables with python-agentx
The 30 second delay in booting Windows PE’s pxeboot.com via pxelinux
The Windows Preinstallation Environment (Windows PE) is used to install newer Microsoft operating systems such as Windows 7 and Windows Server 2008 — Windows PE is what boots, when the appropriate install DVD is inserted.
Clarifying the relationship between PXELinux, Etherboot and gPXE/iPXE
Here are some points I’d like to make to clarify the relationship between PXELinux, Etherboot and gPXE/iPXE:
libvirt utilities on openSUSE 12.1 appear to be broken
The libvirt tools on openSUSE 12.1 currently cause me some headache:
LinuxCon Europe 2011 in Prague
I’m currently at the Linux Foundation’s LinuxCon Europe 2011 conference in Prague. I’ve been to the Collaboration Summit in San Francisco earlier this year, too, and I’m pleasantly surprised by the quality of the talks so far. This year’s talks seem to be a lot focussed on btrfs and ext4:
How SSL/TLS clients validate certificates in a certificate chain
Certificate chains are a key feature of the entire SSL/TLS concept: a root Certificate Authority (CA) issues certificates for sub CAs, which in turn issue certificates for other sub CAs or end systems such as servers. The Sub CAs are often local departments, branch offices etc. and issuing a certificate for a sub CA, which… Continue reading How SSL/TLS clients validate certificates in a certificate chain
An introduction to Intel’s Active Management Technology (AMT)
As one usually does not have easy (read: spontaneous, fast) access to servers stored away in some ISP’s data center, evaluating remote access/remote management solutions seems like a good idea. Since vendor-specific solutions such as iDRAC, iLO etc. were no option as I wouldn’t buy a “real” server, IPMI and iAMT came as the only… Continue reading An introduction to Intel’s Active Management Technology (AMT)
When OS lifecycle becomes a burden, agileness becomes key
The very moment you start running a service of what kind ever, you will face yourself being exposed to the concepts and release cycles of the software underlying your service. In the case of Linux, among other issues this results in the question of what type of Linux distribution you deploy on your servers. The… Continue reading When OS lifecycle becomes a burden, agileness becomes key