Mailing List Archive

Carrier
Is it possible in the new 8 version to create an action if carrier is
lost? I have been using 7.2.X for a long time and I made modifications
to the source to send alerts when carrier is lost (unplugged cable). I
would like to move to 8 but do not want to have to add this.

Thanks
Chris

_______________________________________________
users mailing list
users@conserver.com
https://www.conserver.com/mailman/listinfo/users
Re: Carrier [ In reply to ]
Sorry, nope. Someone would need to add it to the code. :-/

Bryan

On Jun 9, 2011, at 8:04 AM, Chris Fowler wrote:

> Is it possible in the new 8 version to create an action if carrier is
> lost? I have been using 7.2.X for a long time and I made modifications
> to the source to send alerts when carrier is lost (unplugged cable). I
> would like to move to 8 but do not want to have to add this.
>
> Thanks
> Chris
>
> _______________________________________________
> users mailing list
> users@conserver.com
> https://www.conserver.com/mailman/listinfo/users

_______________________________________________
users mailing list
users@conserver.com
https://www.conserver.com/mailman/listinfo/users
Re: Carrier [ In reply to ]
On Thu, 2011-06-09 at 23:56 -0700, Bryan Stansell wrote:
> Sorry, nope. Someone would need to add it to the code. :-/

Okay then I may need to add it. In 7.X I simply used message queues to
send a notification to another daemon that would then send a SNMP trap.
I don't want to do that here. That method was too proprietary and
worked only for me.

Maybe the best method would be to add an option to conserver.cf that
would execute a script on loss of carrier and gain of carrier.

What do you think?

Chris

_______________________________________________
users mailing list
users@conserver.com
https://www.conserver.com/mailman/listinfo/users
Re: Carrier [ In reply to ]
Hi Chris,

What OS are you running on? If you are running on Solaris you could add
static dtrace probes, then use dtrace to act on any event within
conserver. It would be pretty useful to be able to monitor conserver
with dtrace.

I might even have talked myself into doing it :-)

Robin

On 06/10/11 13:07, Chris Fowler wrote:
> On Thu, 2011-06-09 at 23:56 -0700, Bryan Stansell wrote:
>> Sorry, nope. Someone would need to add it to the code. :-/
> Okay then I may need to add it. In 7.X I simply used message queues to
> send a notification to another daemon that would then send a SNMP trap.
> I don't want to do that here. That method was too proprietary and
> worked only for me.
>
> Maybe the best method would be to add an option to conserver.cf that
> would execute a script on loss of carrier and gain of carrier.
>
> What do you think?
>
> Chris
>
> _______________________________________________
> users mailing list
> users@conserver.com
> https://www.conserver.com/mailman/listinfo/users

--


Robin Ridler | EMEA Lab Engineer, Global Systems Support
Email: robin.x.ridler@oracle.com <mailto:robin.x.ridler@oracle.com>
Phone: +44 1252 420401 | Mobile: +44 7974 135 232
OracleGlobal Customer Services
Re: Carrier [ In reply to ]
On Fri, 2011-06-10 at 14:30 +0100, Robin Ridler wrote:
> Hi Chris,
>
> What OS are you running on? If you are running on Solaris you could
> add static dtrace probes, then use dtrace to act on any event within
> conserver. It would be pretty useful to be able to monitor conserver
> with dtrace.

Linux.

I could monitor the log files with Perl and trigger on 'Console up'.


_______________________________________________
users mailing list
users@conserver.com
https://www.conserver.com/mailman/listinfo/users