I would rather not use AWK or Nagios plugins for queue monitoring.  The script 
works in Cacti and should work in Zenoss.  What is needed is the data points.

Output:

Postfix Server:
# ./getmailq.sh
incoming:3 active:5 deferred:862 hold:0

Zenoss Server:

# snmpwalk -v2c -cpublic ipaddress .1.3.6.1.4.1.2021.53.101.0
UCD-SNMP-MIB::ucdavis.53.101.0.1.1 = INTEGER: 1
UCD-SNMP-MIB::ucdavis.53.101.0.2.1 = STRING: "mailq"
UCD-SNMP-MIB::ucdavis.53.101.0.3.1 = STRING: "/opt/TCS/scripts/getmailq.sh"
UCD-SNMP-MIB::ucdavis.53.101.0.100.1 = INTEGER: 0
UCD-SNMP-MIB::ucdavis.53.101.0.101.1 = STRING: "incoming:0 active:5 
deferred:862 hold:0 "
UCD-SNMP-MIB::ucdavis.53.101.0.102.1 = INTEGER: 0

There has to be other's trying to use Postfix templates from Cacti in Zenoss?




-------------------- m2f --------------------

Read this topic online here:
http://community.zenoss.com/forums/viewtopic.php?p=22701#22701

-------------------- m2f --------------------



_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users

Reply via email to