I was figuring there was a way, but despite looking, didn't see it, thanks :)

-----Original Message-----
From: Action Request System discussion list(ARSList) 
[mailto:[email protected]] On Behalf Of Sylvain YVON
Sent: Wednesday, September 12, 2012 9:00 AM
To: [email protected]
Subject: Re: Stop/Activate Escalations

Hi,

You can do it with the API like LJ suggested, with the driver program if you 
just want to script, or in a program of your own.

If you open ar.h on your server, you can see all the server settings you can 
change :
[...]
#define AR_SERVER_INFO_DISABLE_ESCALATIONS  143  /* int  - 0 - enabled
         */                                               /*        1
- not enabled      */
[...]

Note the number 143.

The "driver" programs offer a CLI to use the AR System API. For example, to 
disable escalations on a server, simply launch "driver"
and use the following commands :

Command: init
INITIALIZATION

   ARInitialization  results
ReturnCode:  OK
Status List : 0 items

Command: log
Control record:
   Authentication string () :
   User name () : <your login>
   Password () : <your password>
   Locale[.charSet] () :
   Time zone () :
   Server () : <your server>

Command: ssp
SET SERVER PORT
The port number of server (0): <your TCP port, if needed> Using private socket? 
(0):

   ARSetServerPort  results
ReturnCode:  OK
Status List : 0 items

Command: ssi
SET SERVER INFO
   Number of server info operations (0): 1 Server info list entry Operation 
(1-334) (1): 143 Datatype 
Null/Key/Int/Real/Char/Diary/Enum/Time/Bitmask/Byte/Decimal/attach/
         currency/date/timeofday/join/trim/control/Table/Column/ulong/
         coords/view/display (0-14, 30-34, 40-43) (0): 0

   ARSetServerInfo  results
ReturnCode:  OK
Status List : 0 items



Now you can easily script this by writing all your answers, with the blank 
lines, into a text file, and run "driver < commands.txt".



On Wed, Sep 12, 2012 at 4:52 PM, Longwing, LJ CTR MDA/IC 
<[email protected]> wrote:
> Guillermo,
> Using the API isn't setting a value in a form...although that might 
> actually be an option that I hadn't considered.  I have never tried 
> doing a push to the Admin Console to change server settings....that 
> might be worth a try actually....might actually work :)
>
> But, if you went down the road of writing an API program, I personally 
> know/like the Java API.
>
> But wow....looking at the JavaDocs for the 7.6.04 API, I don't see a way to 
> set the 'disable escalations' flag.
>
> So, with that said, it looks like a push into the form MAY just be the 
> best way to change the flag.  Please come back to the list and let us 
> know the outcome :)
>
> -----Original Message-----
> From: Action Request System discussion list(ARSList) 
> [mailto:[email protected]] On Behalf Of Guillermo Alfredo Torres 
> Barron
> Sent: Wednesday, September 12, 2012 8:29 AM
> To: [email protected]
> Subject: Re: Stop/Activate Escalations
>
> **
>
> Hi!!
>
> We don't have server group at this moment in production environment, I want 
> to use option 2 "Utilize an API of some sort to change the server property" 
> but I don't know how modify server property, which form can I modify to 
> change this property??
>
> Thanks
>
> Greetings
>
>
>
> De: Action Request System discussion list(ARSList) 
> [mailto:[email protected]] En nombre de patchsk Enviado el: Martes, 11 de 
> Septiembre de 2012 01:04 a.m.
> Para: [email protected]
> Asunto: Re: Stop/Activate Escalations
>
>
>
> ** I think in a servergroup environment if you want to stop escalations you 
> can just blank out the ranking field for the escalation entry.
>
> On Monday, September 10, 2012 12:15:39 PM UTC-7, Longwing, LJ CTR MDA/IC 
> wrote:
>
> Guillermo,
> Two methods I can think of
>
> 1 - Update the ar.cfg/ar.conf file and set the 'Disable-Escalations' 
> value to T/F and either restart the remedy service, or execute an 
> arsignal
> 2 - Utilize an API of some sort to change the server property
>
> Both of these solutions of course assume that you are not in a server group.  
> When in a server group, you cannot manually control this setting because it 
> is controlled via the server rankings.
>
> -----Original Message-----
> From: Action Request System discussion list(ARSList) 
> [mailto:[email protected] <javascript:> ] On Behalf Of Guillermo 
> Alfredo Torres Barron
> Sent: Monday, September 10, 2012 1:06 PM
> To: [email protected] <javascript:>
> Subject: Stop/Activate Escalations
>
> Hi dear listers
> How I can stop/activate escalations via a command line or via API?
> We have AR Server 7.6.03, Solaris 10, Database Oracle 11g Thanks in 
> advance Greetings
>
> Este correo electronico es confidencial y/o puede contener informacion 
> privilegiada.
> Si usted no es su destinatario o no es alguna persona autorizada por este 
> para recibir sus correos electronicos, NO debera usted utilizar, copiar, 
> revelar, o tomar ninguna accion basada en este correo electronico o cualquier 
> otra informacion incluida en el, favor de notificar al remitente de inmediato 
> mediante el reenvio de este correo electronico y borrar a continuacion 
> totalmente este correo electronico y sus anexos.
> Nota: Los acentos y caracteres especiales fueron omitidos para su correcta 
> lectura en cualquier medio electronico.
>
> This e-mail is confidential and/or may contain privileged information.
> If you are not the addressee or authorized to receive this for the addressee, 
> you must not use, copy, disclose, or take any action based on this message or 
> any other information herein, please advise the sender immediately by reply 
> this e-mail and delete this e-mail and  its attachments.
>
> ______________________________________________________________________
> _________ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org 
> <http://www.arslist.org>  attend wwrug12 www.wwrug12.com 
> <http://www.wwrug12.com>  ARSList: "Where the Answers Are"
>
> ______________________________________________________________________
> _________ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org 
> <http://www.arslist.org> attend wwrug12 www.wwrug12.com ARSList: "Where the 
> Answers Are"
>
> _attend WWRUG12 www.wwrug.com <http://www.wwrug.com>  ARSlist: "Where 
> the Answers Are"_
>
>
> ________________________________
>
> Este correo electronico es confidencial y/o puede contener informacion 
> privilegiada.
> Si usted no es su destinatario o no es alguna persona autorizada por este 
> para recibir sus correos electronicos, NO debera usted utilizar, copiar, 
> revelar, o tomar ninguna accion basada en este correo electronico o cualquier 
> otra informacion incluida en el, favor de notificar al remitente de inmediato 
> mediante el reenvio de este correo electronico y borrar a continuacion 
> totalmente este correo electronico y sus anexos.
> Nota: Los acentos y caracteres especiales fueron omitidos para su correcta 
> lectura en cualquier medio electronico.
>
> This e-mail is confidential and/or may contain privileged information.
> If you are not the addressee or authorized to receive this for the addressee, 
> you must not use, copy, disclose, or take any action based on this message or 
> any other information herein, please advise the sender immediately by reply 
> this e-mail and delete this e-mail and its attachments.
>
> _attend WWRUG12 www.wwrug.com ARSlist: "Where the Answers Are"_
>
> ______________________________________________________________________
> _________ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org 
> attend wwrug12 www.wwrug12.com ARSList: "Where the Answers Are"

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org attend wwrug12 
www.wwrug12.com ARSList: "Where the Answers Are"

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
attend wwrug12 www.wwrug12.com ARSList: "Where the Answers Are"

Reply via email to