Hi,
I need to monitoring collectd service on linux machine using SNMP agent.
This is my status:
I created this item:
If I click on test I receive "collectd" as result.
Now I tried to create a trigger (alert in case don't found collecd as below:
but it doesn't alert in case of process id down
I need to monitoring collectd service on linux machine using SNMP agent.
This is my status:
Code:
snmpwalk -v 2c -c public 192.168.0.100 . | grep HOST-RESOURCES-MIB | grep collectd HOST-RESOURCES-MIB::hrSWRunName.17231 = STRING: "collectdmon" HOST-RESOURCES-MIB::hrSWRunName.17232 = STRING: "collectd" HOST-RESOURCES-MIB::hrSWRunPath.17231 = STRING: "/usr/sbin/collectdmon" HOST-RESOURCES-MIB::hrSWRunPath.17232 = STRING: "collectd" HOST-RESOURCES-MIB::hrSWRunParameters.17231 = STRING: "-P /var/run/collectd.pid -- -C /etc/collectd/collectd.conf" HOST-RESOURCES-MIB::hrSWRunParameters.17232 = STRING: "-C /etc/collectd/collectd.conf -f" HOST-RESOURCES-MIB::hrSWInstalledName.28 = STRING: "collectd-core-5.x.x-x" HOST-RESOURCES-MIB::hrSWInstalledName.494 = STRING: "collectd-x.x.x"
Code:
Name: snmp_proc_collectd Type: SNMP agent Key: snmp_proc_collectd SNMP OID: HOST-RESOURCES-MIB::hrSWRunPath["index", "HOST-RESOURCES-MIB::hrSWRunName", "collectd"] Type of information: Text
Now I tried to create a trigger (alert in case don't found collecd as below:
Code:
Name: test_trigger_collectd
Severity: High
Expression: {hawkeye-servers:snmp_proc_collectd.regexp(collectd)}=0
Comment