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 ...
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| 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.*********************** |
| ||||
| 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 |