How to monitor Zimbra using pflogsumm and NET-SNMP-EXTEND

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
User avatar
jorgedlcruz
Zimbra Employee
Zimbra Employee
Posts: 2694
Joined: Thu May 22, 2014 4:47 pm

How to monitor Zimbra using pflogsumm and NET-SNMP-EXTEND

Postby jorgedlcruz » Mon Aug 14, 2017 12:20 pm

Hello everyone,
I've been working on a spare project using SNMP and Zimbra Collaboration. This project uses a modified version of the popular pflogsumm script to retrieve the Zimbra Collaboration email queues information and creates an output which we retrieve using the NET-SNMP-EXTEND, so we can monitor each sensor as an SNMP OID.

UPDATED

More information available in: https://github.com/jorgedlcruz/zimbra-net_snmp-extension

With this project you can monitor multiple things of a Zimbra Platform, fro example the Zimbra mail queues using the SNMP tool you prefer.

Zimbra Collaboration Performance
* Received Megabytes
* Delivered Megabytes
* Total Emails/received
* Total Emails/Delivered
* Total Recipients
* Total Senders
* Forwarded
* Deferred
* Bounced
* Rejected
* Held
* Discarded
* Domains Receiving Emails
* Domains Sending Emails

Also, and brand new, you can now monitor the service status, Version, License and License valid until:
These Scripts combine allow us to monitor from our Zimbra Collaboration:
* Zimbra Version
* Amavis Status
* Antispam Status
* Antivirus Status
* Convertd Status
* LDAP Status
* Logger Status
* Mailboxd Status
* Memcache Status
* MTA Status
* OpenDKIM Status
* Proxy Status
* Service Web App Status
* SNMP Status
* Spell Status
* Stats Status
* Zimbra Web App Status
* Zimbra Web Admin Web App Status
* Zimbra Configd Status
* Zimbra License Status
* Zimbra License valid until Status

Here are an example of how it might look like with PRTG and the Zimbra queues:
Image

And this one just for Resources and Service and License status:
Image

Coming next
This is just a v0.1 of this Dashboard, the next step will be to use the Zimbra SOAP API to obtain some extra information from the Zimbra Collaboration Environment, like:
* Number of Active Users
* Number of Inactive Users
* Number of Domains
* Number of Users with ActiveSync
* etc.

In next versions we will parse directly the logs and put the attempts of logins, and successful logins on a map.

As this is an open project, please feel free to share your ideas, feedback and if possible even help to make it better :) My MTA is really small, so I will appreciate a real feedback from a bigger MTA.

Thank you guys!


Jorge de la Cruz https://jorgedelacruz.es
Technical Marketing Manager at Zimbra/Synacor https://www.zimbra.com/
User avatar
jorgedlcruz
Zimbra Employee
Zimbra Employee
Posts: 2694
Joined: Thu May 22, 2014 4:47 pm

Re: How to monitor Zimbra using pflogsumm and NET-SNMP-EXTEND

Postby jorgedlcruz » Wed Oct 25, 2017 1:42 pm

Heads up!
The github project have been updated with a new set of scripts to monitor using SNMP: Zimbra version, Zimbra License and Zimbra services.

Enjoy!

PS: The project is a Community contribution, this means is not supported officialy by Zimbra, just play with it on a staging or test environment.
Jorge de la Cruz https://jorgedelacruz.es
Technical Marketing Manager at Zimbra/Synacor https://www.zimbra.com/
BloodyIron
Advanced member
Advanced member
Posts: 67
Joined: Sat Sep 13, 2014 2:58 am
Contact:

Re: How to monitor Zimbra using pflogsumm and NET-SNMP-EXTEND

Postby BloodyIron » Tue Dec 05, 2017 11:18 pm

While I'm loving these built-in metrics, I really do want to see SNMP actually working in Zimbra OSE too. I effectively want both! Namely so that I can have my existing monitoring (LibreNMS) monitor Zimbra for stability and things like that. But the graph stuff you've been showing in this and the other thread would be super useful for realtime-ish troubleshooting too!

So, perhaps lump fixing SNMP into this too? And having documentation for how to use it? ;) (maybe you recall me discussing this with you in the past).
User avatar
jorgedlcruz
Zimbra Employee
Zimbra Employee
Posts: 2694
Joined: Thu May 22, 2014 4:47 pm

Re: How to monitor Zimbra using pflogsumm and NET-SNMP-EXTEND

Postby jorgedlcruz » Wed Dec 06, 2017 12:16 pm

Hello!
Thank you for the comment! I remember our conversation, this works as well on Zimbra OSE :) All the instructions to make it work, and even extend it are here:

This gives you SNMP itself, which you can monitor with PRTG, LibreNMS or any other SNMP tool.

But I agree, I would love to see the SNMP Zimbra service extended more with this and with other stuff as well

Try it and let us know!

Cheers
Jorge de la Cruz https://jorgedelacruz.es
Technical Marketing Manager at Zimbra/Synacor https://www.zimbra.com/

Return to “Administrators”

Who is online

Users browsing this forum: No registered users and 9 guests