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

David Baldwin david.baldwin at ausport.gov.au
Sun Mar 17 23:47:26 CET 2013


On 15/03/13 2:43 AM, Andersson Tomas wrote:
> 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
I have some service monitoring such as:

        SVC "%[Ee]ventlog" startup=automatic status=started
        SVC "%(?i)LanmanServer" startup=%.* status=started COLOR=yellow

First is just alt chars in pos 1 (you don't use | between options inside
[] as your possibilities above), 2nd is match any case.

David.
>
>
> 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.
> _______________________________________________
> Xymon mailing list
> Xymon at xymon.com
> http://lists.xymon.com/mailman/listinfo/xymon


-- 
David Baldwin - Senior Systems Administrator (Datacentres + Networks)
Information and Communication Technology Services
Australian Sports Commission          http://ausport.gov.au
Tel 02 62147830 Fax 02 62141830       PO Box 176 Belconnen ACT 2616
david.baldwin at ausport.gov.au          Leverrier Street Bruce ACT 2617


-------------------------------------------------------------------------------------
Keep up to date with what's happening in Australian sport visit http://www.ausport.gov.au

This message is intended for the addressee named and may contain confidential and privileged information. If you are not the intended recipient please note that any form of distribution, copying or use of this communication or the information in it is strictly prohibited and may be unlawful. If you receive this message in error, please delete it and notify the sender.
-------------------------------------------------------------------------------------



More information about the Xymon mailing list