Hi
Thanks again for guiding me

I have got the following error in the command line:
snmpset -v2c -c tenroses monitor1 .1.3.6.1.4.1.2021.2.1.102.4 = 1
Error in packet.
Reason: notWritable (That object does not support modification)

But in fact:
snmpwalk -v2c -c tenroses monitor1 .1.3.6.1.4.1.2021.2.1.102.4
UCD-SNMP-MIB::prErrFix.4 = INTEGER: 0
 snmpwalk -v2c -c tenroses monitor1 .1.3.6.1.4.1.2021.2.1.100.4
UCD-SNMP-MIB::prErrorFlag.4 = INTEGER: 1
 snmpwalk -v2c -c tenroses monitor1 .1.3.6.1.4.1.2021.2.1.101.4
UCD-SNMP-MIB::prErrMessage.4 = STRING: Too few httpd running (# = 0)
snmpwalk -v2c -c tenroses monitor1 .1.3.6.1.4.1.2021.2.1.103.4
UCD-SNMP-MIB::prErrFixCmd.4 = STRING:
snmpwalk -v2c -c tenroses monitor1 .1.3.6.1.4.1.2021.2.1.1.4
UCD-SNMP-MIB::prIndex.4 = INTEGER: 4
snmpwalk -v2c -c tenroses monitor1 .1.3.6.1.4.1.2021.2.1.2.4
UCD-SNMP-MIB::prNames.4 = STRING: httpd
snmpwalk -v2c -c tenroses monitor1 .1.3.6.1.4.1.2021.2.1.3.4
UCD-SNMP-MIB::prMin.4 = INTEGER: 1
snmpwalk -v2c -c tenroses monitor1 .1.3.6.1.4.1.2021.2.1.4.4
UCD-SNMP-MIB::prMax.4 = INTEGER: 6

Did you mean anything different when you were talking about "SET on the relevant prErrFix instance" ?


       Jose Dragone



Dave Shield wrote:
On Sun, 2005-01-09 at 15:10, Jose Dragone wrote:

  
#procfix NAME PROG ARGS  : these two scripts below do not run
                           and I don't know why?
procfix sendmail /root/Snmp-Scripts/procfix-sendmail.sh start
procfix httpd /root/Snmp-Scripts/procfix-httpd.sh start
    

What command are you running to try and trigger them?
The "defaultMonitors" line will active sending a trap
when the process montoring detects a problem, but it
does not automatically trigger the 'procfix' directives.
  That still requires an explicit SET on the relevant
prErrFix instance.

Dave

  

Reply via email to