On Mon, Mar 27, 2006 at 03:27:55PM -0500, Jean-Sebastien Morisset wrote:
> On Mon, Mar 27, 2006 at 01:49:41PM -0500, Jean-Sebastien Morisset wrote:
>> On Mon, Mar 27, 2006 at 07:43:45PM +0200, Thomas Anders wrote:
>>> Jean-Sebastien Morisset wrote:
>>>> I'm trying to debug some monitoring lines in my snmpd.conf file that
>>>> aren't working. After restarting snmpd, I get the following error in my
>>>> snmpd.log file. Any ideas what this might mean?
>>>> 
>>>> # tail -f /var/log/snmpd.log
>>>> NET-SNMP version 5.3.0.1
>>>> send response:  (Sub-id not found: iso -> lmFanSensorsValue)
>>> 
>>> Are you running 5.3.0.1 *with* official patches 
>>> (www.net-snmp.org/official_patches) applied?
>> 
>> "Official Patches"? Oh man... Thanks, I'm on it. :-)
> 
> Thomas,
> 
> I applied the disman.pat and oid-names2_5.3.patch patches, but I'm still
> getting:
> 
> # tail -f /var/log/snmpd.log
> NET-SNMP version 5.3.0.1
> send response:  (Sub-id not found: (top) -> lmMiscSensorsValue)
>     -- IF-MIB::ifNumber.0
> send response:
>     -- SNMPv2-MIB::sysObjectID.0
> 
> Should I apply other patches?

Thomas,

I may be on to something...

# snmpwalk -c roex25mb devunix6 prNames.2
UCD-SNMP-MIB::prNames.2 = STRING: cron

If I stop cron using teh following in my snmpd.conf file:

monitor -S -r 128 -o prNames -o prErrMessage "procTable" prErrorFlag != 0

Then it work fine, BUT if I use this _instead_:

monitor -S -r 128 -o prNames.2 -o prErrMessage.2 "procTable.2" prErrorFlag.2 != 0

Then it doesn't work. I had to split the procTable because the standard
monitor would return erroneous errors for running processes. For
example:

mteTriggerFired trap received from gessolx1.dev.me.org: procTable 
.1.3.6.1.4.1.2021.2.1.100.2 1 cron

I'd set "proc cron 1 1" so a trap shouldn't have been sent.

Since most of the lmSensors are checked using the oidname.# method, then
it's no wonder it doesn't work.

Is there another patch I should try?

Thanks,
js.
-- 
Jean-Sebastien Morisset, Sr. UNIX Administrator <[EMAIL PROTECTED]>
Personal Home Page <http://jsmoriss.mvlan.net/>
Underwater and Travel Photographs <http://www.mvpix.com/>


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to