Xymon Mailing List Archive search

is there a possibility to use regexp in file analysis.cfg when configuring SVC for windows machines ?

list Scot Kreienkamp
Thu, 14 Mar 2013 17:03:09 +0000
Message-Id: <user-277bc512f451@xymon.invalid>

Tomas,

I am doing that in some cases, here's an example:

SVC %(W3SVC|Tomcat6) startup=automatic status=started


Scot Kreienkamp | Senior Systems Engineer | La-Z-Boy Incorporated
1284 N. Telegraph Rd. | Monroe, MI 48162 | user-9678697f1438@xymon.invalid | www.la-z-boy.com
-----Original Message-----
From: xymon-bounces at xymon.com [mailto:xymon-bounces at xymon.com] On
Behalf Of Andersson Tomas
Sent: Thursday, March 14, 2013 11:43 AM
To: xymon at xymon.com
Subject: [Xymon] is there a possibility to use regexp in file analysis.cfg when
configuring SVC for windows machines ?

Hi !

I'm running xymon 4.3.7 server running on HP-UX 11.31 ia64 using central
mode.

We have configured the analysis.cfg for windows clients like:
...
        SVC "DNS"               status=started color=yellow
        SVC "Dfs"               status=started color=yellow
        SVC "Dhcp"              status=started color=yellow
        SVC "Dnscache"          status=started color=yellow
        SVC "HealthService"     status=started color=yellow
        SVC "IsmServ"           status=started color=yellow
        SVC "LanmanServer"      status=started color=yellow
...
Everything works OK
But Now and then when the Windows servers are restarted then
The service name starts up with a different Case !!!

So typically the   LanmanServer service suddenly shows lanmanserver or
Lanmanserver !!!
Or w32time suddenly shows itself as W32time  ...


is it  possible to use regexp in file analysis.cfg when configuring SVC for
windows machines ?
like    SVC  [W|w]32time status=started color=yellow
or     SVC    [L|l]anman[S|s]erver  status=started color=yellow


Best Regards,
/Tomas Andersson

Unix System Admin/Tech/Dev
SCA IT Services

This message  may contain confidential, proprietary or legally
privileged information and is intended for the addressee's use
only. Any usage, disclosure, distribution, print or copying of
any  part  of  this  message  is prohibited unless you are the
intended  recipient.  If  you  receive  this message in error,
please  delete it from any computer and notify the sender.  If
you  suspect  that  this message may have been altered, please
notify the sender. SCA has taken every  reasonable  precaution
to ensure that this  e-mail and any attachments to this e-mail
has  been  scanned for viruses. However,  SCA does  not accept
liability for any damage caused by software viruses brought to
you by this mail.
This message is intended only for the individual or entity to which it is addressed. It may contain privileged, confidential information which is exempt from disclosure under applicable laws. If you are not the intended recipient, please note that you are strictly prohibited from disseminating or distributing this information (other than to the intended recipient) or copying this information. If you have received this communication in error, please notify us immediately by e-mail or by telephone at the above number. Thank you.