Xymon Mailing List Archive search

BBWin and procs & svcs

list Robert P McGraw
Mon, 7 Apr 2008 16:16:04 -0400
Message-Id: <user-8a62933b4e38@xymon.invalid>

Thanks very much.

I am running V 4.2.0 and looked through the man pages again and did not see
anything. Maybe it was added in 4.3.

This is what I needed. 

Thanks

Robert
-----Original Message-----
From: Magnus Carlebjörk [mailto:user-c92457131d08@xymon.invalid]
Sent: Monday, April 07, 2008 1:19 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] BBWin and procs & svcs


Hi Robert.

Well, I entered "man hobbit-clients.cfg" from my 4.3.0-0.20080402
installation and got:

++++
SVC STATUS COLUMN SETTINGS (WINDOWS SERVICES)
       SVC startup status color

       The "svcs" listing sent by the client will be scanned to check
that specific services are run-
       ning.

       "servicename" is a simple string, in which case this string must
show up in the  "svcs"  list-
       ing.  Note that servicename is case-sensitive.
       If "servicename" contains whitespace (blanks or TAB), you must
enclose the full string in dou-
       ble quotes. You cannot use regular expression.  Both options
startup and status  are  required
       and  are  simple  strings,  and  must  show up in the "svcs"
listing as StartupType and Status
       columns.

           SVC Fax startup=manual status=stopped
           SVC MSSQLSERVER startup=automatic status=started

       You can have multiple "SVC" entries for the same host, all of the
checks are merged  into  the
       "svcs" status and the most severe check defines the color of the
status.

       Example: Check that SQL Server Agent is running:
            SVC SQLSERVERAGENT startup=automatic status=started
color=yellow

       Defaults:
            color="red".
            Note that no service are checked by default.
++++

Here is a working example:

++++
HOST=BLAHUNGA
        UP      1h
        SVC "Apache2" startup=automatic status=started color=red
        PROC pageant.exe 1 1
        LOAD    80 95
        DISK    * 90 95
        MEMPHYS 90 101
        MEMSWAP 80 90
        MEMACT  90 97
++++

/ Magnus


McGraw, Robert P skrev:
Where can I find information on how to configure hobbit-clients.cfg to
monitor BBWin svcs entries?

Thanks


Robert P. McGraw, Jr.
Manager, Computer System                 EMAIL: user-33cf07af04dd@xymon.invalid
Purdue University                         ROOM: MATH-807
Department of Mathematics                PHONE: (XXX) XXX-XXXX
XXX N. University Street
West Lafayette, IN XXXXX-XXXX