Hi,

I am trying to configure the net-snmp to monitor a process "test.sh".

Bellow you can see my configuration, I think is ok but when I kill the
process test.sh nothing happens.

proc test.sh 1 1
procfix test.sh /opt/csi/scripts/test_start start

monitor -r 10 -e Procesos -o prNames -o prErrmessage "process table"
prErrorFlag != 0
notificationEvent Process prNames

setEvent prFixIt prErrFix = 1
monitor -e prFixIt "procTable" prErrorFlag != 0

This is the output of snmpwalk in the machine:
snmpwalk -v 1 localhost -c public .1.3.6.1.4.1.2021.2
UCD-SNMP-MIB:rIndex.1 = INTEGER: 1
UCD-SNMP-MIB:rIndex.2 = INTEGER: 2
UCD-SNMP-MIB:rNames.1 = STRING: ProcessM
UCD-SNMP-MIB:rNames.2 = STRING: prueba.sh
UCD-SNMP-MIB:rMin.1 = INTEGER: 2
UCD-SNMP-MIB:rMin.2 = INTEGER: 1
UCD-SNMP-MIB:rMax.1 = INTEGER: 2
UCD-SNMP-MIB:rMax.2 = INTEGER: 1
UCD-SNMP-MIB:rCount.1 = INTEGER: 2
UCD-SNMP-MIB:rCount.2 = INTEGER: 0
UCD-SNMP-MIB:rErrorFlag.1 = INTEGER: 0
UCD-SNMP-MIB:rErrorFlag.2 = INTEGER: 1
UCD-SNMP-MIB:rErrMessage.1 = STRING:
UCD-SNMP-MIB:rErrMessage.2 = STRING: Too few prueba.sh running (# =
0)
UCD-SNMP-MIB:rErrFix.1 = INTEGER: 0
UCD-SNMP-MIB:rErrFix.2 = INTEGER: 0
UCD-SNMP-MIB:rErrFixCmd.1 = STRING:
UCD-SNMP-MIB:rErrFixCmd.2 = STRING: /opt/csi/scripts/test_start
start

Best regards,
Trobiani.