Ad Widget

Collapse

Exchange 2007 monitoring (including spam)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mmarkwitzz
    Senior Member
    • Jan 2011
    • 106

    #1

    Exchange 2007 monitoring (including spam)

    Hello,

    This is the template I use for Exchange 2007. It monitors services, database size and messages/antispam (with some nice graphs I can show customers).

    Attached you have:
    - the template (zbx_exc2007_template.xml)
    - an agent config file example (zabbix_agentd.conf)
    - a vbs script file used (zabbix_exc_db_log_size.vbs)

    The agent config file contains some some alias and userparameter entries for monitoring the database. You need to modify it with the correct path to the vbs script file and the correct path to the exchange databases.

    There can only be 2 databases monitored. I usually use db0 for first storage group and db1 for second storage group.

    Good luck
    Attached Files
  • ehermouet
    Member
    • May 2011
    • 50

    #2
    mmarkwitzz you have some BEST post

    do you know it will works with exchange 2010 ? and 4 databases ?

    Comment

    • mmarkwitzz
      Senior Member
      • Jan 2011
      • 106

      #3
      Originally posted by ehermouet
      mmarkwitzz you have some BEST post

      do you know it will works with exchange 2010 ? and 4 databases ?
      This is a template I have not updated in a while and did not keep up with the improvements and fixes I made in our production environment. The plan was to update it for zabbix 2.0 the same as I did with the HP template. Unfortunately, I changed my job recently and I no longer have access to a zabbix environment, so there is no update comming.

      The template should work with exchange 2010 but to add additional databases will require some modifications to the template and the conf file.

      The conf file included contains 1 Alias and 1 UserParameter for each database. If you want to monitor more than 2 databases, you need to add additional entries in the file, like so:

      Code:
      #exchange database size
      Alias = exc.db0.size:vfs.file.size[D:\Exchange\First Storage Group\Mailbox Database.edb]
      UserParameter = exc.db0.log.size,cscript "C:\Program Files (x86)\Zabbix agent\zabbix_exc_db_log_size.vbs" //Nologo "D:\Exchange\First Storage Group"
      Alias = exc.db1.size:vfs.file.size[D:\Exchange\Second Storage Group\Public Folder Database.edb]
      UserParameter = exc.db1.log.size,cscript "C:\Program Files (x86)\Zabbix agent\zabbix_exc_db_log_size.vbs" //Nologo "D:\Exchange\Second Storage Group"
      
      
      ### additional entries must have unique names and point to additional databases and transaction log folders
      Alias = exc.db2.size:vfs.file.size[D:\Exchange\Third Storage Group\Third Mailbox Database.edb]
      UserParameter = exc.db2.log.size,cscript "C:\Program Files (x86)\Zabbix agent\zabbix_exc_db_log_size.vbs" //Nologo "D:\Exchange\Third Storage Group"
      Note: The template was designed for simple environments where there is one database per storage group. That way multiple databases do _not_ store their transaction logs in the same folder. If you have multiple databases per storage group, and the databases store their logs in the same folder, the graphs will be incorrect, as each databases will count _all_ logs in the folder as its own logs.

      The second step is to identify the items and triggers in the template that use those Aliases and UserParameters and clone them to use the _new_ aliases and userparameters.
      These should be the "Database dbX ..." items and triggers.
      Last edited by mmarkwitzz; 31-07-2012, 15:27.

      Comment

      • Superkikim
        Junior Member
        • Sep 2011
        • 12

        #4
        Hi.

        Thx for this template. Great.

        Would you know why I would have this kind of error though ?

        Code:
          6322:20121029:222319.062 item [sbs.imavox.local:msg.recv.junk.hour] became not supported: Cannot evaluate function [last(#1)]
          6324:20121029:222320.402 item [sbs.domain.local:msg.recv.legit.hour] became not supported: Cannot evaluate function [last(#1)]
          6322:20121029:222324.070 item [sbs.domain.local:msg.recv.spam.hour] became not supported: Cannot evaluate function [last(#1)]
          6322:20121029:222324.071 item [sbs.domain.local:msg.recv.total.hour] became not supported: Cannot evaluate function [last(#1)]
          6325:20121029:222325.405 item [sbs.domain.local:msg.sent.hour] became not supported: Cannot evaluate function [last(#1)]
        It seems to be the only items that are not working.

        It's an Exchange 2007 on an SBS server.

        Comment

        • monstermania
          Junior Member
          • Apr 2013
          • 8

          #5
          Exchange 2007 (Updated)

          I've installed the original template from mmarkwitzz to Monitor an Exchange 2007 in german language on Zabbix 2.0.5.
          The original Template works only on english Exchange 2007 due the perfmon statements are in english. So I've modify the original template and change the perfmon statements to numbers.
          Now the template should work on an language version of exchange 2007.

          Attached you have:
          - the template (zbx_exc2007_template.xml)
          - an agent config file example (zabbix_agentd.conf)
          - a vbs script file used (zabbix_exc_db_log_size.vbs)

          regards
          Dirk
          Attached Files

          Comment

          • psurmont
            Junior Member
            • Apr 2014
            • 3

            #6
            Perf Counter Number

            Originally posted by monstermania
            I've installed the original template from mmarkwitzz to Monitor an Exchange 2007 in german language on Zabbix 2.0.5.
            The original Template works only on english Exchange 2007 due the perfmon statements are in english. So I've modify the original template and change the perfmon statements to numbers.
            Now the template should work on an language version of exchange 2007.

            Attached you have:
            - the template (zbx_exc2007_template.xml)
            - an agent config file example (zabbix_agentd.conf)
            - a vbs script file used (zabbix_exc_db_log_size.vbs)

            regards
            Dirk

            Where did u find the correspondence table for those perf counter numbers?

            tx

            Comment

            • fleon
              Junior Member
              • Aug 2014
              • 22

              #7
              Originally posted by monstermania
              I've installed the original template from mmarkwitzz to Monitor an Exchange 2007 in german language on Zabbix 2.0.5.
              The original Template works only on english Exchange 2007 due the perfmon statements are in english. So I've modify the original template and change the perfmon statements to numbers.
              Now the template should work on an language version of exchange 2007.

              Attached you have:
              - the template (zbx_exc2007_template.xml)
              - an agent config file example (zabbix_agentd.conf)
              - a vbs script file used (zabbix_exc_db_log_size.vbs)

              regards
              Dirk
              I have tried your template on exchange 2007 spanish and none of the perf_counter work.

              Comment

              Working...