Unix Technical Forum

SNMP problems en SCO 5 (hostmib errors)

This is a discussion on SNMP problems en SCO 5 (hostmib errors) within the Sco Unix forums, part of the Unix Operating Systems category; --> Hi, Im trying to monitor a SCO 5 server via SNMP, I have enabled the hostmib and normally it ...


Go Back   Unix Technical Forum > Unix Operating Systems > Sco Unix

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-15-2008, 04:06 PM
Juanjo
 
Posts: n/a
Default SNMP problems en SCO 5 (hostmib errors)

Hi, Im trying to monitor a SCO 5 server via SNMP, I have enabled the
hostmib and normally it works perfect, but every night it starts
failling to send the processorload:

hrProcessorLoad.11 --> .1.3.6.1.2.1.25.3.3.1.2.11
hrProcessorLoad.12 --> .1.3.6.1.2.1.25.3.3.1.2.12

It also generates a log file with the following info on it:

Sep* 6 00:17:35 hostname hostmib: error executing
"getDynamicProcessorData 12 load": can't use non-numeric string as
operand of "-"******************************
Sep* 6 00:17:35 hostname hostmib: error executing
"getDynamicProcessorData 11 load": can't use non-numeric string as
operand of "-"*

This lines are repeated a lot of times, then it starts working again..
anyone knows what may be the problem? I know that the server has cron
job that restarts it at 00:35 every night but this is happening at
00:17

Sorry for my english and thanks.***********************
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-15-2008, 04:06 PM
Jeff Liebermann
 
Posts: n/a
Default Re: SNMP problems en SCO 5 (hostmib errors)

On 7 Sep 2004 04:49:18 -0700, roncelinus@hotmail.com (Juanjo) wrote:

>Hi, Im trying to monitor a SCO 5 server via SNMP, I have enabled the
>hostmib and normally it works perfect, but every night it starts
>failling to send the processorload:
>
>hrProcessorLoad.11 --> .1.3.6.1.2.1.25.3.3.1.2.11
>hrProcessorLoad.12 --> .1.3.6.1.2.1.25.3.3.1.2.12
>
>It also generates a log file with the following info on it:
>
>Sep* 6 00:17:35 hostname hostmib: error executing
>"getDynamicProcessorData 12 load": can't use non-numeric string as
>operand of "-"******************************
>Sep* 6 00:17:35 hostname hostmib: error executing
>"getDynamicProcessorData 11 load": can't use non-numeric string as
>operand of "-"*
>
>This lines are repeated a lot of times, then it starts working again..
>anyone knows what may be the problem? I know that the server has cron
>job that restarts it at 00:35 every night but this is happening at
>00:17
>
>Sorry for my english and thanks.


For SNMP to work with hostmib, you need to have snmpd and smuxtcl
running. See:
http://www.LearnByDestroying.com/sco/snmp_install.txt
From the looks of the above errors, it appears that smuxtcl is
running, but snmpd is not. However, I'm guessing. Something is
killing snmpd and my guess is that it has to do with a cron job of
some sorts. You should not need to reboot your computer nightly as my
boxes stay up for months without a reboot. My guess is that the
reboot process is not quite synchronized with the SNMP data collection
and needs to be either eliminated or repaired. Turn on CRONLOG
temporarily and compare the times of the errors with what cron is
doing.





--
Jeff Liebermann jeffl@comix.santa-cruz.ca.us
150 Felker St #D http://www.LearnByDestroying.com
Santa Cruz CA 95060 AE6KS 831-336-2558
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 04:59 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com