Snmpd in Amd64



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



Relevant Pages

  • Re: javaldx failed.
    ... mozilla start from default fails, ... error message. ... console in the icewm window but I resolved this for the console window ... get script ...
    (Debian-User)
  • RE: forwarding logs
    ... Same with another script. ... >> You should not need to cange anything in the log script itself. ... >> Reuben D. Budiardja ...
    (RedHat)
  • RE: forwarding logs
    ... Same with another script. ... >> You should not need to cange anything in the log script itself. ... >> Reuben D. Budiardja ...
    (RedHat)
  • Re: CreateADUSer function
    ... I'll pos the whole script if you still think its necessary. ... If that still fails and no errors ... through global variables. ... objuser.sAMAccountname = stracctname ...
    (microsoft.public.scripting.vbscript)
  • Re: Win 98SE Update Fails To Start
    ... Did you also disable the script blocking component of your AV? ... Windows folder with Notepad, scroll down towards the bottom for the most ... > process just fails to start. ... I was prompted to install it again. ...
    (microsoft.public.windowsupdate)