Page 1 of 6 123 ... LastLast
Results 1 to 10 of 54

Thread: Zimbra Monitoring with Nagios

  1. #1
    Join Date
    Feb 2008
    Posts
    12
    Rep Power
    7

    Default Zimbra Monitoring with Nagios

    Hello forum,

    because i didn't find any solution to monitor zimbra with nagios i wrote a small script. It's interprets the output of "zmcontrol status" command. Because the zmcontrol can only be startet from the zimbra account you have to edit sudoers file like.

    %nagios ALL=(zimbra) NOPASSWD:/opt/zimbra/bin/zmcontrol

    small (german) article on my blogsite at: Schose’s Blog » Blog Archive » Zimbra Monitoring mit Nagios

    Script http://andreas.ndfnet.de/showfiles/b...ck_zmstatus.pl

    Is it reliable enough to monitor this command? Do you have some other ideas to improve monitoring?? comments welcome!

    best regards,

    Andreas

  2. #2
    Join Date
    Sep 2006
    Posts
    252
    Rep Power
    9

    Default

    Can't you use nagios snmp plugin against zimbra?

  3. #3
    Join Date
    Feb 2008
    Posts
    12
    Rep Power
    7

    Default

    what should i ask for?! what values are interesting?

  4. #4
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    25

    Default

    Instead of using zmcontrol why not just monitor the individual ZCS processes ?

  5. #5
    Join Date
    Feb 2008
    Posts
    12
    Rep Power
    7

    Default

    because then you only see that all services are running. that doesn't meat that the system is also working fine. i hope that zmcontrol does some deeper analysis, even if i am not sure.
    another topic is that you might have several different services running depending on you zimbraedition.

    I think a much better test could also be to login the system with curl (or some other tool) and do a pattern matching. I didn't get this working because it seem to be a problem that the submit Button on logonpage doesn't have a name.

    <input type="submit" class="zLoginButton"
    value="Anmelden"/>

    Best Regards,

    Andreas

  6. #6
    Join Date
    Jan 2008
    Posts
    658
    Rep Power
    8

    Default

    Quote Originally Posted by schose View Post

    I think a much better test could also be to login the system with curl (or some other tool) and do a pattern matching. I didn't get this working because it seem to be a problem that the submit Button on logonpage doesn't have a name.

    <input type="submit" class="zLoginButton"
    value="Anmelden"/>
    I've seen videos of GroundWork using WebInject to monitor websites. I haven't done any playing with it to see how difficult it is, but looked very promising..

  7. #7
    Join Date
    Feb 2008
    Posts
    12
    Rep Power
    7

    Default

    this webinject tool seems to be really interesting. i'll play around a little bit. It would be great if you find the link to the screencast. I didn't found anything on the groundwork website.

  8. #8
    Join Date
    Jan 2008
    Posts
    658
    Rep Power
    8

    Default

    Quote Originally Posted by schose View Post
    this webinject tool seems to be really interesting. i'll play around a little bit. It would be great if you find the link to the screencast. I didn't found anything on the groundwork website.
    Found it: GroundWork in an Hour :: GroundWork Open Source

    It's the third one in the list. You do have to register to view the video. It's mostly just a demo of how to do it in their ui, but it looked really powerful.

  9. #9
    Join Date
    Aug 2007
    Posts
    103
    Rep Power
    8

    Default

    we monitor all the services imap, pop, https, etc.. and I also make sure zmconvertdmon is running and check the queue sizes on the MTAs. We also check if we are on some rbls

  10. #10
    Join Date
    Feb 2008
    Posts
    12
    Rep Power
    7

    Default

    i also didn't get this webinject login to the html form.

    I tried follwing in the testcases.xml file:

    <testcases repeat="1">

    <case
    id="1"
    description1="Zimbra login"
    description2="verify string for testuser exists in response"
    method="post"
    url="http://zimbra.schosemail.de/zimbra"
    method="post"
    verifypositive="username"
    postbody=”login&username=testuser%40testdomain.de& password=test1234&client=standard"
    />


    </testcases>

    Error: "Invalid quote token [Ln: 11, Col: 10]" . I get the postbody caputre with login in with firefox liveheader plugin. something seems to be wrong in the postbody statement. maybe anyone did before?!

    Btw.: how do you test RBLs?!

    best regards,

    Andreas

Similar Threads

  1. Replies: 8
    Last Post: 01-12-2012, 02:20 AM
  2. admin consol blank after 5.0.3 upgarde
    By maumar in forum Administrators
    Replies: 6
    Last Post: 03-21-2008, 06:16 AM
  3. Replies: 12
    Last Post: 02-25-2008, 07:28 PM
  4. Zimbra shutdowns every n hours.
    By Andrewb in forum Administrators
    Replies: 13
    Last Post: 08-14-2007, 09:55 AM
  5. Fedora Core 3, Clean Install - Not working!
    By pcjackson in forum Installation
    Replies: 17
    Last Post: 03-05-2006, 07:38 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •