Re: [sipx-users] SipX 4.6 snmptrapd custom

2012-12-27 Thread Kyle Haefner
Jan,

Keep in mind that upgrades tend to replace these files.

George: Any recommendations for making permanent changes to cf-input files?


Kyle


On Fri, Dec 21, 2012 at 3:19 AM, Jan Fricke jan.fri...@iant.de wrote:

  Hi George,

 no it is /etc/snmp/snmptrapd.conf.

 But I think from what you said I have to edit
 /usr/share/sipxecs/cfinputs/plugin.d/snmptrap.cf right?





 Thanks



 Jan



 _
 Jan Fricke (B.Sc.)

 *IANT -
 APPLIED NGN-TECHNOLOGIES

 **Turn-Key VoIP/UC Solutions and More...


 *Fon: +49 (5331) 6794 0
 Fax: +49 (5331) 6794 499
 Mail: jan.fri...@iant.de
 Web: www.iant.de http://www.iant.de/en/startseite


 IANT is eZuce http://www.ezuce.com/ Elite Partner for EMEA

 IANT is Member of GROUPLINK http://www.grouplink.de/



 *Von:* sipx-users-boun...@list.sipfoundry.org [mailto:
 sipx-users-boun...@list.sipfoundry.org] *Im Auftrag von *George Niculae
 *Gesendet:* Freitag, 21. Dezember 2012 11:15
 *An:* Discussion list for users of sipXecs software
 *Betreff:* Re: [sipx-users] SipX 4.6 snmptrapd custom



 On Fri, Dec 21, 2012 at 12:11 PM, Jan Fricke jan.fri...@iant.de wrote:

 Hi,

 I want to use the snmptrapd service on my SipX 4.6 system to receive snmp
 traps from my PSTN gateway. In 4.4 this was not used by SipX so I could
 just use the service. Now on 4.6 I noticed that the configuration already
 exists and that it contains some data.



 What is the best way to add something custom there? If I simply add a
 traphandler for another OID will it be overwritten with the next yum update
 or send server profiles? Is there a way to configure it from SipXconfig or
 can I make the service unmanaged?





 Is snmpd.conf the one you need to change? If so you could manually alter
 /usr/share/sipxecs/cfinputs/plugin.d/snmp.cf and add it in



 bundle edit_line snmpd_conf



 George




-- 
Kyle Haefner, M.S.
Communication Systems Programmer
Colorado State University
Fort Collins, CO
Phone: 970-491-1012
Email:  kyle.haef...@colostate.edu

01010010 01100101 0111 01101100 0010 01101101 01100101 01101110
0010 0111 01110010 0110 01100111 01110010 0111 01101101
0010 01101001 01101110 0010 01100010 01101001 01101110 0111
01110010 0001 00101110
___
sipx-users mailing list
sipx-users@list.sipfoundry.org
List Archive: http://list.sipfoundry.org/archive/sipx-users/

Re: [sipx-users] SipX 4.6 snmptrapd custom

2012-12-27 Thread Douglas Hubler
On Thu, Dec 27, 2012 at 12:21 PM, Kyle Haefner
kyle.haef...@colostate.edu wrote:
 Keep in mind that upgrades tend to replace these files.
 George: Any recommendations for making permanent changes to cf-input files?

if the snmptrapd cf script shuts down and service it didn't start then
it's a bug and we should fix it upstream.

if you drop a new file into

   /usr/share/sipxecs/cfinputs/plugin.d/foo.cf

and add

bundle agent  foo {
  reports:
linux::
  hello world;
}

then sipxecs will not touch it.  In this foo.cf script, you have
access to all sorts of variables and flags and can add/override many
things.

We could mark *.cf files as Configuration files according to rpm
spec and yum upgrades would not replace them, but I feel that's a
little dangerous. Comments?
___
sipx-users mailing list
sipx-users@list.sipfoundry.org
List Archive: http://list.sipfoundry.org/archive/sipx-users/


Re: [sipx-users] SipX 4.6 snmptrapd custom

2012-12-21 Thread George Niculae
On Fri, Dec 21, 2012 at 12:11 PM, Jan Fricke jan.fri...@iant.de wrote:

 Hi,

 I want to use the snmptrapd service on my SipX 4.6 system to receive snmp
 traps from my PSTN gateway. In 4.4 this was not used by SipX so I could
 just use the service. Now on 4.6 I noticed that the configuration already
 exists and that it contains some data.



 What is the best way to add something custom there? If I simply add a
 traphandler for another OID will it be overwritten with the next yum update
 or send server profiles? Is there a way to configure it from SipXconfig or
 can I make the service unmanaged?




Is snmpd.conf the one you need to change? If so you could manually alter
/usr/share/sipxecs/cfinputs/plugin.d/snmp.cf and add it in

bundle edit_line snmpd_conf

George
___
sipx-users mailing list
sipx-users@list.sipfoundry.org
List Archive: http://list.sipfoundry.org/archive/sipx-users/

Re: [sipx-users] SipX 4.6 snmptrapd custom

2012-12-21 Thread Jan Fricke
Hi George,

no it is /etc/snmp/snmptrapd.conf.

But I think from what you said I have to edit
/usr/share/sipxecs/cfinputs/plugin.d/snmptrap.cf right?





Thanks



Jan



_
Jan Fricke (B.Sc.)

*IANT -
APPLIED NGN-TECHNOLOGIES

**Turn-Key VoIP/UC Solutions and More...


*Fon: +49 (5331) 6794 0
Fax: +49 (5331) 6794 499
Mail: jan.fri...@iant.de
Web: www.iant.de http://www.iant.de/en/startseite


IANT is eZuce http://www.ezuce.com/ Elite Partner for EMEA

IANT is Member of GROUPLINK http://www.grouplink.de/



*Von:* sipx-users-boun...@list.sipfoundry.org [mailto:
sipx-users-boun...@list.sipfoundry.org] *Im Auftrag von *George Niculae
*Gesendet:* Freitag, 21. Dezember 2012 11:15
*An:* Discussion list for users of sipXecs software
*Betreff:* Re: [sipx-users] SipX 4.6 snmptrapd custom



On Fri, Dec 21, 2012 at 12:11 PM, Jan Fricke jan.fri...@iant.de wrote:

Hi,

I want to use the snmptrapd service on my SipX 4.6 system to receive snmp
traps from my PSTN gateway. In 4.4 this was not used by SipX so I could
just use the service. Now on 4.6 I noticed that the configuration already
exists and that it contains some data.



What is the best way to add something custom there? If I simply add a
traphandler for another OID will it be overwritten with the next yum update
or send server profiles? Is there a way to configure it from SipXconfig or
can I make the service unmanaged?





Is snmpd.conf the one you need to change? If so you could manually alter
/usr/share/sipxecs/cfinputs/plugin.d/snmp.cf and add it in



bundle edit_line snmpd_conf



George
___
sipx-users mailing list
sipx-users@list.sipfoundry.org
List Archive: http://list.sipfoundry.org/archive/sipx-users/

Re: [sipx-users] SipX 4.6 snmptrapd custom

2012-12-21 Thread George Niculae
On Fri, Dec 21, 2012 at 12:19 PM, Jan Fricke jan.fri...@iant.de wrote:

 Hi George,

 no it is /etc/snmp/snmptrapd.conf.

 But I think from what you said I have to edit
 /usr/share/sipxecs/cfinputs/plugin.d/snmptrap.cf right?




Right, snmptrap.cf, this part:

bundle edit_line snmptrapd_conf

George
___
sipx-users mailing list
sipx-users@list.sipfoundry.org
List Archive: http://list.sipfoundry.org/archive/sipx-users/

Re: [sipx-users] SipX 4.6 snmptrapd custom

2012-12-21 Thread Jan Fricke
Thanks J



_
Jan Fricke (B.Sc.)

*IANT -
APPLIED NGN-TECHNOLOGIES

**Turn-Key VoIP/UC Solutions and More...


*Fon: +49 (5331) 6794 0
Fax: +49 (5331) 6794 499
Mail: jan.fri...@iant.de
Web: www.iant.de http://www.iant.de/en/startseite


IANT is eZuce http://www.ezuce.com/ Elite Partner for EMEA

IANT is Member of GROUPLINK http://www.grouplink.de/



*Von:* sipx-users-boun...@list.sipfoundry.org [mailto:
sipx-users-boun...@list.sipfoundry.org] *Im Auftrag von *George Niculae
*Gesendet:* Freitag, 21. Dezember 2012 11:22
*An:* Discussion list for users of sipXecs software
*Betreff:* Re: [sipx-users] SipX 4.6 snmptrapd custom



On Fri, Dec 21, 2012 at 12:19 PM, Jan Fricke jan.fri...@iant.de wrote:

Hi George,

no it is /etc/snmp/snmptrapd.conf.

But I think from what you said I have to edit
/usr/share/sipxecs/cfinputs/plugin.d/snmptrap.cf right?





Right, snmptrap.cf, this part:



bundle edit_line snmptrapd_conf



George
___
sipx-users mailing list
sipx-users@list.sipfoundry.org
List Archive: http://list.sipfoundry.org/archive/sipx-users/

Re: [sipx-users] SipX 4.6 snmptrapd custom

2012-12-21 Thread Jan Fricke
After setting up a test system and playing around with the cf file I had
the idea that it is maybe easier to start a second daemon instance on
another port.

e.g.

snmptrapd –c /etc/snmp/myconfig.conf 0.0.0.0:163



Any objections?

But however thanks for your input J





_
Jan Fricke (B.Sc.)

*IANT -
APPLIED NGN-TECHNOLOGIES

**Turn-Key VoIP/UC Solutions and More...


*Fon: +49 (5331) 6794 0
Fax: +49 (5331) 6794 499
Mail: jan.fri...@iant.de
Web: www.iant.de http://www.iant.de/en/startseite


IANT is eZuce http://www.ezuce.com/ Elite Partner for EMEA

IANT is Member of GROUPLINK http://www.grouplink.de/



*Von:* sipx-users-boun...@list.sipfoundry.org [mailto:
sipx-users-boun...@list.sipfoundry.org] *Im Auftrag von *George Niculae
*Gesendet:* Freitag, 21. Dezember 2012 11:22
*An:* Discussion list for users of sipXecs software
*Betreff:* Re: [sipx-users] SipX 4.6 snmptrapd custom



On Fri, Dec 21, 2012 at 12:19 PM, Jan Fricke jan.fri...@iant.de wrote:

Hi George,

no it is /etc/snmp/snmptrapd.conf.

But I think from what you said I have to edit
/usr/share/sipxecs/cfinputs/plugin.d/snmptrap.cf right?





Right, snmptrap.cf, this part:



bundle edit_line snmptrapd_conf



George
___
sipx-users mailing list
sipx-users@list.sipfoundry.org
List Archive: http://list.sipfoundry.org/archive/sipx-users/

Re: [sipx-users] SipX 4.6 snmptrapd custom

2012-12-21 Thread Douglas Hubler
On Fri, Dec 21, 2012 at 8:29 AM, Jan Fricke jan.fri...@iant.de wrote:

 After setting up a test system and playing around with the cf file I had
 the idea that it is maybe easier to start a second daemon instance on
 another port.

 e.g.

 snmptrapd –c /etc/snmp/myconfig.conf 0.0.0.0:163



 Any objections?


can't see the harm if that works for you.
___
sipx-users mailing list
sipx-users@list.sipfoundry.org
List Archive: http://list.sipfoundry.org/archive/sipx-users/

Re: [sipx-users] SipX 4.6 snmptrapd custom

2012-12-21 Thread George Niculae
On Friday, December 21, 2012, Douglas Hubler dhub...@ezuce.com wrote:
 On Fri, Dec 21, 2012 at 8:29 AM, Jan Fricke jan.fri...@iant.de wrote:

 After setting up a test system and playing around with the cf file I had
the idea that it is maybe easier to start a second daemon instance on
another port.

 e.g.

 snmptrapd –c /etc/snmp/myconfig.conf 0.0.0.0:163



 Any objections?

 can't see the harm if that works for you.


The only thing I think it could fail is cf engine trying to figure out
snmpdtrap service to stop / start and getting your process. I could be
wrong so you should test.

George
___
sipx-users mailing list
sipx-users@list.sipfoundry.org
List Archive: http://list.sipfoundry.org/archive/sipx-users/