Ad Widget

Collapse

Exchange 2010 Template

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jamie2482
    Junior Member
    • Oct 2011
    • 2

    #1

    Exchange 2010 Template

    Hi all,

    I started work on an Microsoft Exchange 2010 template right now I'm only monitoring the services but I plan to later add monitoring for the performance counters.

    I made the template available on my github at https://github.com/jamie1921/Zabbix-...hange_2010.xml.

    Comments and suggestions are welcome.
  • kool_kid
    Junior Member
    • Mar 2011
    • 6

    #2
    Thank You for sharing this has helped me.

    I would suggest this be added to CookBook.

    This template is very good to monitor services and hub transport parameters. I will try to extend this and add Mailbox parameters. Will post back soon.

    Comment

    • kool_kid
      Junior Member
      • Mar 2011
      • 6

      #3
      I have attached enhanced template, it is based on what Jamie did but with more triggers and Items.

      Below is the list of services monitored.
      Code:
        Service state of Microsoft Exchange Active Directory Topology (MSExchangeADTopology)
        Service state of Microsoft Exchange Information Store (MSExchangeIS)
        Service state of Microsoft Exchange Mail Submission (MSExchangeMailSubmission)
        Service state of Microsoft Exchange Mailbox Assistants (MSExchangeMailboxAssistants)
        Service state of Microsoft Exchange Monitoring (MSExchangeMonitoring)
        Service state of Microsoft Exchange Replication (MSExchangeRepl)
        Service state of Microsoft Exchange RPC Client Access (MSExchangeRPC)
        Service state of Microsoft Exchange Search Indexer (MSExchangeSearch)
        Service state of Microsoft Exchange Service Host (MSExchangeServiceHost)
        Service state of Microsoft Exchange Throttling (MSExchangeThrottling)
        Service state of Microsoft Exchange Transport Log Search (MSExchangeTransportLogSearch)
        Service state of Microsoft Search (Exchange) (msftesql-Exchange)
        Service state ofMicrosoft Exchange System Attendant (MSExchangeSA)
        Service state of Microsoft Exchange Address Book (MSExchangeAB)
        Service state of Microsoft Exchange Anti-spam Update (MSExchangeAntispamUpdate)
        Service state of Microsoft Exchange EdgeSync (MSExchangeEdgeSync)
        Service state of Microsoft Exchange File Distribution (MSExchangeFDS)
        Service state of Microsoft Exchange Forms-Based Authentication (MSExchangeFBA)
        Service state of Microsoft Exchange IMAP4 (MSExchangeImap4)
        Service state of Microsoft Exchange Mailbox Replication (MSExchangeMailboxReplication)
        Service state of Microsoft Exchange POP3 (MSExchangePop3)
        Service state of Microsoft Exchange Protected Service Host (MSExchangeProtectedServiceHost)
        Service state of Microsoft Exchange Transport (MSExchangeTransport)
       Service state of IIS Admin Service (IISADMIN)
      Below is the list of Items, I have categorized for CAS/Hub Transport Servers & Mailbox Servers

      Code:
        
        Shows the number of messages in a retry state attempting to deliver a message to a remote mailbox.
        Shows the number of messages in a retry state in the non-SMTP gateway delivery queues.
        Shows the number of messages in a retry state in the remote delivery queues.
        Shows the number of messages in the active mailbox queues.
        Shows the number of messages in the active remote delivery queues.
        Shows the number of messages in the drop directory used by a Foreign connector.
        Shows the number of messages in the largest delivery queues.
        Shows the number of messages in the poison message queue.
        Shows the number of messages in the submission queue.
        Shows the number of messages in the Unreachable queue.
        Shows the number of messages queued for delivery in all queues.
        Shows the number of OAB download tasks completed since File Distribution service started.
        Shows the number of OAB download tasks Queued since File Distribution service started.
        Shows the number of pending ActiveSync Commands
        Shows the number of requests initiated per sec through OWA
        Shows the number of searches using Global Address Book.
        Shows the number of users logged in through OWA
        Shows the number of I/O Database Reads Average Latency
        Shows the average response time for requests sent to OWA
        Shows the number of Events in Queues for all Mailbox Assisstants
        Shows the number of I/O Database Reads Average Latency
        Shows the number of I/O Database Writes Average Latency
        Shows the number of items in Copy Queue Length of Active Databases
        Shows the number of items in Replay Queue (on Passive Databases)
        Shows the number of LDAP Searches Per Sec
        Shows the number of Messages Delivered Per Sec (All Mailboxes)
        Shows the number of Outstanding RPC Requests
        Shows the number of RPC Requests Failed Percentage
        Shows the number of RPC Requests per sec
        Shows the number of Users connected to Information Store
        Shows the number times Client RPCs Failed due to Server Too Busy
      Attached Files

      Comment

      • Alex_SYB
        Senior Member
        • Feb 2012
        • 133

        #4
        Thanks for that.

        Especially for a newbie who has just started !

        Comment

        • michelis
          Junior Member
          • Jan 2012
          • 14

          #5
          Thank you for sharing

          Hi,

          Thank you for this template. Especially since I'm new to monitoring windows.

          Cheers
          Tobias

          Comment

          • Alex_SYB
            Senior Member
            • Feb 2012
            • 133

            #6
            Hi

            i was wondering if there is a bug in the template

            Shows the number of RPC Requests per sec

            seems to have an ever increasing number so I am guessing its adding and not diffing ?


            I think i have found the error the item is using
            \MSExchange Store Interface(_Total)\RPC Requests sent

            which is a counter and should be using

            \MSExchange Store Interface(_Total)\RPC Requests sent/sec

            I have tried to make the change but for some strange reason it comes back with not supported !

            but I have used typeperf -qx to confirm the values are there

            hmmm okay reheck (!)

            they are not there for typeperf -q

            Don't know enough about zabbix or the agent to know if that is a problem

            Alex
            Last edited by Alex_SYB; 05-03-2012, 04:49.

            Comment

            • Alex_SYB
              Senior Member
              • Feb 2012
              • 133

              #7
              So more testing...

              I can run this successfully from the command line

              zabbix_get -s <SERVERNAME> -k 'perf_counter["\MSExchange Store Interface(_Total)\RPC Requests sent/sec"]'

              works, its a copy and paste of the key value !!!

              At a lost now... I know the value is there and zabbix_get seems to be able to get it ...

              Comment

              • frater
                Senior Member
                • Oct 2010
                • 340

                #8
                I did something with perf_counter today and needed to lose the double quotes......
                Zabbix agents on Linux, FreeBSD, Windows, AVM-Fritz!box, DD-WRT and QNAP

                Comment

                • Alex_SYB
                  Senior Member
                  • Feb 2012
                  • 133

                  #9
                  Originally posted by frater
                  I did something with perf_counter today and needed to lose the double quotes......


                  okay WOW it worked !

                  Comment

                  • nilis
                    Junior Member
                    • Jun 2012
                    • 5

                    #10
                    Originally posted by Alex_SYB
                    okay WOW it worked !
                    Did you use the template from Kool_kid?
                    I get the following error:

                    Depends on :
                    Template_Windows : Server Template_Windows is unreachable


                    Can somebody upload this template too?
                    Thnx!

                    Comment

                    • dhu
                      Junior Member
                      Zabbix Certified Specialist
                      • May 2012
                      • 1

                      #11
                      Nice template!

                      Comment

                      • nilis
                        Junior Member
                        • Jun 2012
                        • 5

                        #12
                        Originally posted by NoNolva
                        Sorry, what you mean?
                        When i import the template from Kool_kid in this topic:
                        Attached Files zbx_templates_export.xml (104.2 KB, 318 views)

                        i get an error on the template that the templaterelies on another templete, but i don't have this template. The import goes normal. But when i look at the triggers i see around the 20 triggers that depends on another template. So this 20 triggers won't work without this template.

                        Error message:

                        Severity : High
                        Status: Enabled
                        Name:Microsoft Exchange Active Directory Topology service not running.
                        Depends on :
                        Template_Windows : Server Template_Windows is unreachable
                        Expression: {Template Exchange 2010:service_state["MSExchangeADTopology"].last(0)}#0

                        So i think when someone can provide me the "Server Template_Windows" than the other 20 triggers will work.

                        thnx for your time!

                        Comment

                        • tchjts1
                          Senior Member
                          • May 2008
                          • 1605

                          #13
                          Kool Kid -

                          Thank you for this template. I imported it into Zabbix 2.0 (stable) without any issues.

                          Comment

                          • nilis
                            Junior Member
                            • Jun 2012
                            • 5

                            #14
                            Originally posted by tchjts1
                            Kool Kid -

                            Thank you for this template. I imported it into Zabbix 2.0 (stable) without any issues.

                            Tchjts1, can you export the "Server Template_Windows " for me or is that only for zabbix 2.0 ? I have 1.8 running.

                            Comment

                            • tchjts1
                              Senior Member
                              • May 2008
                              • 1605

                              #15
                              Originally posted by nilis
                              Tchjts1, can you export the "Server Template_Windows " for me or is that only for zabbix 2.0 ? I have 1.8 running.
                              Hi Nilis - if you look inside of the xml you are trying to import, you will see several references to:

                              <depends>Template_Windows:Server {HOSTNAME} is unreachable</depends>

                              So, do you have the stock template of Template_Windows?
                              (Case and spelling sensitive, including underscore)

                              Comment

                              Working...