argh, SNMP can really chafe!

Using version 1:

% snmpget -c COMMSTRING -M /usr/local/share/snmp/mibs -v 1 -m
USAGE-MIB:PROXY-MIB:REDLINE-STATS-MIB:REDLINE-STATS-MIB:REDLINE-CONFIG-M
IB hostname REDLINE-STATS-MIB::sessActive.0 Error in packet
Reason: (noSuchName) There is no such variable name in this MIB.
Failed object: REDLINE-STATS-MIB::sessActive.0

Using version 2 (2c):
% snmpget -c COMMSTRING -M /usr/local/share/snmp/mibs -v 2c -m
USAGE-MIB:PROXY-MIB:REDLINE-STATS-MIB:REDLINE-STATS-MIB:REDLINE-CONFIG-M
IB hostname REDLINE-STATS-MIB::sessActive.0
REDLINE-STATS-MIB::sessActive.0 = Counter64: 12247

Slightly annoying that – but makes certain sense

the war of the worlds reprise

well it looks like war of the worlds is going to be back on tour in the UK next year, so will definitely have to look at going to see a show when they’re in London.

What I didn’t know is that they used image metrics to model Richard Burton’s face during the dialogue, which I remembered reading about in the last few weeks. So will be interesting to see what they can do coming up

fare thee well drupal

So after nearly two and a half years I’ve finally said farewell to drupal and gone back to wordpress, why?

Well mostly because I was finding drupal a little too complicated for what I was really wanting – which was just a simple place to keep track of random things – will mean I’ll loose the ability of doing some things that I did like to throw together, but then again – I shouldn’t have so much time to do that now either!

Lets see how long this lasts!

solaris zone utilisation via SNMP

It’s been a bug-bear for a long time for me that the CPU metrics when querying a Solaris 10 host are global and not zone specific (which of course makes sense, just makes it harder to track zone utilisation).

So finally wrote a basic perl script that will provide that information via a SNMP mib, output looks like the following:


> snmpwalk -v 1 -c public localhost .1.3.6.1.4.1.2021.255.7
UCD-SNMP-MIB::ucdavis.255.7.0 = STRING: "Zone name"
UCD-SNMP-MIB::ucdavis.255.7.1 = STRING: "global"
UCD-SNMP-MIB::ucdavis.255.7.2 = STRING: "gallery"
UCD-SNMP-MIB::ucdavis.255.7.3 = STRING: "nakos"
UCD-SNMP-MIB::ucdavis.255.7.4 = STRING: "mcdougallfamily"
UCD-SNMP-MIB::ucdavis.255.7.5 = STRING: "shared"
UCD-SNMP-MIB::ucdavis.255.7.6 = STRING: "packer"
UCD-SNMP-MIB::ucdavis.255.7.7 = STRING: "si"

Script is available at here

Current bugs/issues
# snmpwalk will not step through all the sub-trees

iWeb

well, just sat down and actually had a play with iWeb ’08, and it’s actually pretty good – ok, i’ve yet to have a good look at the HTML it creates; but in terms of ease of use – it’s very easy, though i did have to use a rsync script to make publishing a little simpler (although webdav does work pretty well if that’s your thing)

http://iweb.dubdubdub.co.uk/Welcome.html