is there a possibility to use regexp in file analysis.cfg when configuring SVC for windows machines ?
list Andersson Tomas
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.
list Scot Kreienkamp
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.
list David Baldwin
▸
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=yellowI 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.
--
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 user-cbbf693f2c89@xymon.invalid 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.