If you create new entries via the IMPORT feature,then the hostnames will be adapted correctly, even within the check definition :-)
I see a use for %h, %p and %r as they are known within SA when the check is created. The %w is however not known. This means that the 1st time a check is done we can't use %w as the IP address isn't known yet. Also the %h, %p and %r are known within SA but not within the COM checks, this means that we would have to convert the % parameters before the enter the COM part. Let me have a look at it and see if and how this can be done. dirk On Thu, 21 Nov 2013 15:15:46 +0100, Demeulemeester, Pieter wrote: > I manage 25 installation of SA. All are 'almost' identical'. > I'm in the middle of making an entries file that will be copied to > those 25 instances. For each instance I have to make some changes, > like server names. The fewer changes I need to make, the better. > > The %h would be the most useful, but maybe %w (IP address) as well. > Or suppose for an External Errorlevel Check I could use the %p or %r > as parameters for a CMD job. Just a thought. > > On the other hand, it would be handy that the server name shouldn't > be given twice, at least for some checks. Suppose (and I do) copy a > Diskspace Check for the C-drive for Server1, just to make a similar > check for Server2. Now I have to change the server name on 2 places, > once on the General tab and once in the Check definition. > I can live with it though, just trying to optimize things. > > Pieter > > -----Original Message----- > From: Servers Alive Discussion List [mailto:[email protected]] On > Behalf Of Dirk Bulinckx > Sent: donderdag 21 november 2013 14:46 > To: Servers Alive Discussion List > Subject: RE: [SA-list] The feature you always wanted in Servers Alive > but always were afraid to ask > > What would be the use of that? > And what else then %h would be usefull? > > > dirk > > On Thu, 21 Nov 2013 11:30:42 +0100, Demeulemeester, Pieter wrote: >> The feature you always wanted in Servers Alive but always were >> afraid >> to ask >> >> Hi Dirk, >> >> Another feature I think would be nice : possibility to use >> parameters >> in the checks definitions. >> >> Like the parameters that are available for the SMTP Alerts (ex. %h, >> %u, %w %d) >> >> Examples: >> >> Diskspace Check : \%hC$ instead of \SERVERNAMEC$ >> >> File Properties Check: \%hc$test.txt instead of >> \SERVERNAMEC$test.txt >> >> Regards, >> >> Pieter >> >> FROM: Servers Alive Discussion List [mailto:[email protected] [1]] >> ON BEHALF OF Dirk Bulinckx >> SENT: Tuesday, December 18, 2012 1:46 PM >> TO: Servers Alive Discussion List >> SUBJECT: [SA-list] The feature you always wanted in Servers Alive >> but >> always were afraid to ask >> >> What is that one feature (small or big) that you always wanted in >> Servers Alive? >> >> Dirk Bulinckx >> Servers Alive - http://www.woodstone.nu [2] >> StellarDNS (DNS Hosting) - http://www.stellardns.com [3] >> >> To unsubscribe send a message with UNSUBSCRIBE in the subject line >> to >> [email protected] [4] >> If you use auto-responders (like out-of-the-office messages), make >> sure that they are not sent to the list nor to individual members. >> Doing so will cause you to be automatically removed from the list. >> >> ------------------------- >> >> IMPORTANT NOTICE ! This E-Mail transmission and any accompanying >> attachments may contain confidential information intended only for >> the use of the individual or entity named above. Any dissemination, >> distribution, copying or action taken in reliance on the contents of >> this E-Mail by anyone other than the intended recipient is strictly >> prohibited and is not intended to, in anyway, waive privilege or >> confidentiality. If you have received this E-Mail in error please >> immediately delete it and notify sender at the above E-Mail address. >> Agrium uses state of the art anti-virus technology on all incoming >> and outgoing E-Mail. We encourage and promote the use of safe E-Mail >> management practices and recommend you check this, and all other >> E-Mail and attachments you receive for the presence of viruses. The >> sender and Agrium accept no liability for any damage caused by a >> virus or otherwise by the transmittal of this E-Mail. >> >> To unsubscribe send a message with UNSUBSCRIBE in the subject line >> to >> [email protected] [5] >> If you use auto-responders (like out-of-the-office messages), make >> sure that they are not sent to the list nor to individual members. >> Doing so will cause you to be automatically removed from the list. >> >> To unsubscribe send a message with UNSUBSCRIBE in the subject line >> to >> [email protected] [6] >> If you use auto-responders (like out-of-the-office messages), make >> sure that they are not sent to the list nor to individual members. >> Doing so will cause you to be automatically removed from the list. >> >> ------------------------- >> Dit bericht wordt verzonden vanuit een e-mailadres voor >> professioneel gebruik. De verantwoordelijken binnen de organisatie >> kunnen kennis nemen van alle berichten verzonden naar dit adres. >> Le présent message est envoyé d'une adresse e-mail pour usage >> professionnel. Les responsables de l'organisation peuvent prendre >> connaissance de tous les messages envoyés àcette adresse. >> This message is sent from an e-mail address for professional use >> only. The persons in charge of the organisation may take note of all >> messages sent to this address. >> >> To unsubscribe send a message with UNSUBSCRIBE in the subject line >> to [email protected] >> If you use auto-responders (like out-of-the-office messages), make >> sure that they are not sent to the list nor to individual members. >> Doing so will cause you to be automatically removed from the list. >> >> Links: >> ------ >> [1] mailto:[email protected] >> [2] http://www.woodstone.nu >> [3] http://www.stellardns.com >> [4] mailto:[email protected] >> [5] mailto:[email protected] >> [6] mailto:[email protected] > > -- > Dirk Bulinckx > Servers Alive - http://www.woodstone.nu > DNS Hosting on StellarDNS - http://www.stellardns.com > > To unsubscribe send a message with UNSUBSCRIBE in the subject line to > [email protected] > If you use auto-responders (like out-of-the-office messages), make > sure that they are not sent to the list nor to individual members. > Doing so will cause you to be automatically removed from the list. > > > > > > > To unsubscribe send a message with UNSUBSCRIBE in the subject line to > [email protected] > If you use auto-responders (like out-of-the-office messages), make > sure that they are not sent to the list nor to individual members. > Doing so will cause you to be automatically removed from the list. -- Dirk Bulinckx Servers Alive - http://www.woodstone.nu DNS Hosting on StellarDNS - http://www.stellardns.com To unsubscribe send a message with UNSUBSCRIBE in the subject line to [email protected] If you use auto-responders (like out-of-the-office messages), make sure that they are not sent to the list nor to individual members. Doing so will cause you to be automatically removed from the list.
