Hi,
We get an alarm when the number of process is not the desired one, via a Trap (see AlertMap file, where 0xffff2105 is a custum event of ours):
# UCD process thresh raised prIndex
1.3.6.1.4.1.2021.990.0.1 0xffff2105 1.3.6.1.4.1.2021.2.1.1(1,0)\
# prNames
1.3.6.1.4.1.2021.2.1.2(2,0)\
# prMin
1.3.6.1.4.1.2021.2.1.3(3,0)\
# prMax
1.3.6.1.4.1.2021.2.1.4(4,0)\
# prCount
1.3.6.1.4.1.2021.2.1.5(5,0)\
# prErrMessage
1.3.6.1.4.1.2021.2.1.101(6,0)\
# prErrFixCmd
1.3.6.1.4.1.2021.2.1.103(7,0)
The Trap is sent by snmpd.
In snmpd conf we have:
# Event action and notification events
setEvent procFix prErrFix = 1
notificationEvent EventProcessKo .1.3.6.1.4.1.2021.990.0.1
notificationEvent EventProcessOk .1.3.6.1.4.1.2021.990.0.2
Hope this helps.
Cheers, VL