Snmpd in Amd64
- From: Lars <debs@xxxxxxxxxx>
- Date: Fri, 29 Feb 2008 16:28:50 +0100
Hi
The snmp daemon on my Debian Etch Amd64 Xen Dom0 won't start at boot. The configuration works perfect, without errors, if I start manuel.
I've tested the script in "/etc/rc2.d/S20snmpd" and everything else is started as it should. I've tried a script in crontab every half hour.
VerifySnmpd=`ps -A | grep snmpd`
echo `date '+%x %X'` Start >> /tmp/snmpd.log
if [ -z "$VerifySnmpd" ];then
echo `date '+%x %X'` Starting >> /tmp/snmpd.log
/etc/init.d/snmpd start
if [ -z "$VerifySnmpd" ];then
echo `date '+%x %X'` Failed >> /tmp/snmpd.log
fi
fi
Then script is executed and fails. If I run the script manual, snmpd starts. What am I missing?
BTW, Anyone experience with adding own monitors to snmp? I can extract them with:
# snmpwalk -v 2c -c <community> <ip> 1.3.6.1.4.1.2021.8
And get the name # snmpwalk -v 2c -c <community> <ip> 1.3.6.1.4.1.2021.8.1.2
UCD-SNMP-MIB::extNames.1 = STRING: HDtemp_Seagate160
UCD-SNMP-MIB::extNames.2 = STRING: HDtemp_Maxtor200
But I can't get the value, in this case temperatur.
UCD-SNMP-MIB::extOutput.1 = STRING: 42
UCD-SNMP-MIB::extOutput.2 = STRING: 29
In the OID x.2 is the name, x.3 is the command. x.4 (and up) that should give the value fails.
UCD-SNMP-MIB::extEntry.4 = No Such Object available on this agent at this OID
Thank you in advance
/Lars
--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx
- Prev by Date: apt-get update on ftp.uk.debian.org
- Next by Date: [SOLVED]Re: Programs for bluetooth
- Previous by thread: apt-get update on ftp.uk.debian.org
- Next by thread: miniscule text on icons in Xfce
- Index(es):
Relevant Pages
|