> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Krzeminski, Damian (BL60:9D30) > Sent: Tuesday, October 14, 2008 1:47 PM > To: [EMAIL PROTECTED] > Subject: Re: [sipX-dev] How to send an alarm? > > Carolyn Beeton wrote: > >> -----Original Message----- > >> From: [EMAIL PROTECTED] > >> [mailto:[EMAIL PROTECTED] On Behalf Of M. > >> Ranganathan > >> Sent: Monday, October 13, 2008 3:52 PM > >> To: sipx-dev > >> Subject: [sipX-dev] How to send an alarm? > >> > >> Hello, > >> > >> I'd like to add a class in sipxcommons that java processes > can call > >> which would trigger an alarm on the alarm service. > >> I request some direction on how to do this. > > > > There are instructions on how to add an alarm at > > http://sipx-wiki.calivia.com/index.php/HowTo_add_a_new_alarm. > > > > I did one alarm from java code: see > > > sipXconfig/neoconf/src/org/sipfoundry/sipxconfig/login/LoginCo > ntextImpl. > > java. Not sure if this helps... I am not an expert on the > "contexts" > > > >> Under what conditions should an alarm be sent? Would it be > >> appropriate to trigger an alarm when a configuration test fails? > >> > > > > I would like the supervisor to send an alarm when configtest fails. > > First I have to get the output. > > > > Carolyn > > Transparent proxying of XML/RPC interface used in > LogingContext is very sipXconfig specific (spring specific to > be precise but no other java component is using spring). > > I think that what Ranga is looking for are the details of > XML/RPC interface that he can use to raise the alarm. > D, >
In that case, sipx-alarm would be a better example. The interface is doxygen-documented at http://sipxecs.sipfoundry.org/doc/sipxsupervisor/class_alarm_rpc_raise_a larm.html _______________________________________________ sipx-dev mailing list [email protected] List Archive: http://list.sipfoundry.org/archive/sipx-dev Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-dev
