[Xymon] Check of scheduled suspended services on Windows hosts

Root, Paul T Paul.Root at CenturyLink.com
Thu Feb 9 15:43:26 CET 2017


A script doesn't take the FORMAT=sms command.  You only get one parameter for a script and that is the recipient.

You have the SCRIPT line saying smsplus.sh  and then show the script smsalert.sh.  Which is it, do you have it right?

Have you tested the sendsms program to make sure it works?
Have you tested the script, whatever you called it, that it does what you want?

-----Original Message-----
From: Sankaraiah Kodipilla [mailto:skodipilla at zetaglobal.com]
Sent: Wednesday, February 08, 2017 7:06 PM
To: Root, Paul T; 'Yann Lehmann'; xymon at xymon.com
Subject: RE: [Xymon] Check of scheduled suspended services on Windows hosts

Hi All,

Please help on this case,  I have implemented SMS alert to my team(Mobile SMS) but did not received alert to my mobile and received mails successfully to inbox.

HOST=*  SERVICE=conn,http
SCRIPT /var/www/xymon/server/ext/smsplus.sh 81218***** FORMAT=sms

FYI,
# cat  /var/www/xymon/server/ext/smsalert.sh

#!/bin/sh
/usr/local/bin/sendsms $RCPT "$BBALPHAMSG"   // not yet existed in this file(/usr/local/bin/sendsms)

Please help on this case, how to enable SMS alert to Mobile.

Thanks
Sankar


-----Original Message-----
From: Xymon [mailto:xymon-bounces at xymon.com] On Behalf Of Root, Paul T
Sent: Tuesday, February 7, 2017 8:15 PM
To: 'Yann Lehmann' <aristide at free-it.ch>; xymon at xymon.com
Subject: Re: [Xymon] Check of scheduled suspended services on Windows hosts

Use the IGNORE keyword in your alerts.cfg.

PAGE=Visionael COLOR=red,purple
        IGNORE SERVICE=procs TIME=*:0200:0300
        MAIL $NG-IM-ONCALL FORMAT=SMS DURATION>7 RECOVERED REPEAT=20m




-----Original Message-----
From: Xymon [mailto:xymon-bounces at xymon.com] On Behalf Of Yann Lehmann
Sent: Tuesday, February 07, 2017 4:11 AM
To: xymon at xymon.com
Subject: [Xymon] Check of scheduled suspended services on Windows hosts

Hi

In order to assure a clean backup of an application, the editor recommends that all relevant services should be stopped during the backup window (this wouldn't be a problem as backup is scheduled at night when no one needs the application).

Is there a way to "schedule" the monitoring of some services on a host ?

By the way, we still user bbwin on our Windows-hosts, it that matters.

Thanks and regards
Yann Lehmann
_______________________________________________
Xymon mailing list
Xymon at xymon.com
http://lists.xymon.com/mailman/listinfo/xymon
This communication is the property of CenturyLink and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments.
_______________________________________________
Xymon mailing list
Xymon at xymon.com
http://lists.xymon.com/mailman/listinfo/xymon
This communication is the property of CenturyLink and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments.


More information about the Xymon mailing list