Discussion:
SipX 4.6 snmptrapd custom
Jan Fricke
2012-12-21 10:11:16 UTC
Permalink
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?



Thanks guys….



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: ***@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/>
George Niculae
2012-12-21 10:14:43 UTC
Permalink
Post by Jan Fricke
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
Jan Fricke
2012-12-21 10:19:43 UTC
Permalink
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: ***@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-***@list.sipfoundry.org [mailto:
sipx-users-***@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 <***@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
George Niculae
2012-12-21 10:22:08 UTC
Permalink
Loading...