Hi,
I tried to run snmptrapd from my customized service in centos 5.7 machine... the command used to start snmptrapd is ....
/opt/snmpdemo/bin/snmptrapd -Le -c /opt/snmpdemo/etc/snmp/snmptrapd.conf -n -C -t -m ""
And tried to trigger a trap... Trap got triggered but snmptrapd didn't receive it.... All the libraries are linked correctly....
is my command correct ? is snmptrapd got started ? or is there any other issue ?
Regards,
Sharath.
snmptrapd is not receiving generated traps in centos 5.7
-
- Posts: 10642
- Joined: 2005/08/05 15:19:54
- Location: Northern Illinois, USA
Re: snmptrapd is not receiving generated traps in centos 5.7
1. 5.7 is old, insecure, and not supported. You should update to 5.10
2. CentOS installs nothing in /opt. When you have problems with programs not supplied by CentOS you should go to their source for help.
2. CentOS installs nothing in /opt. When you have problems with programs not supplied by CentOS you should go to their source for help.
Re: snmptrapd is not receiving generated traps in centos 5.7
The CentOS snmptrapd is supplied by net-snmp and resides in /usr/sbin/snmptrapd
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Re: snmptrapd is not receiving generated traps in centos 5.7
hi,
tks for ur reply...
i am not directly using snmptrap in centos... i have installed a customized package(rpm) in which snmp is also included... and when the rpm is installed it automatically creates a folder in /opt and copies all the items there including all the snmp related files and my .ini file starts the snmptrap using the command mentioned earlier...
Regards,
sharath.
tks for ur reply...
i am not directly using snmptrap in centos... i have installed a customized package(rpm) in which snmp is also included... and when the rpm is installed it automatically creates a folder in /opt and copies all the items there including all the snmp related files and my .ini file starts the snmptrap using the command mentioned earlier...
Regards,
sharath.