Ok, the answer to the question is yes my snmp folder has those files.
Before we go any further, here is an update:
Just in case something is wrong on the server we have been working on, I installed snmp on a different server. i reasoned that if I get it working properly on a dif server, then I can follow the same steps and install it on my busted server. so from this point on the busted server has been kicked to the curb,(temporarily set aside)(btw I have never understood why my Afro American bros invented and use that phrase...it makes no dang sense...) and we will be proceeding with the new clean rig.
ok so on the new box I have done the following:
1. downloaded,un-tared snmptt_1.3.tar.sometin z into
then
Code: Select all
1003 cd /usr/src/snmptt_1.3
1004 ls
which returned:
Code: Select all
bin README snmptt-eventlog.mc
BUGS sample-trap snmptthandler
ChangeLog sample-trap-daemon snmptthandler-embedded
contrib sample-unknown-trap snmptt.ini
COPYING sample-unknown-trap-daemon snmptt.ini-nt
docs snmptt snmptt-init.d
examples snmpttconvert snmptt.logrotate
INSTALL snmpttconvertmib snmptt-net-snmp-test
then:
Code: Select all
1005 cp snmptt /usr/sbin/
1006 cp snmptthandler /usr/sbin/
1007 cp snmpttconvert /usr/bin/
1008 cp snmptt-init.d /etc/init.d/snmptt
and:
Code: Select all
1009 chkconfig --add snmptt
1010 chkconfig --level 2345 snmptt on
This was as per the install instructions that came with snmptt_1.3 Mike Weber's vid said
that it should be :
I erred on the side of caution, and used the install doc's instructions
and moving along:
Code: Select all
1011 mkdir /var/spool/snmptt/
1012 useradd snmptt
1013 mkdir /etc/snmp
1014 cp snmptt.ini /etc/snmp
1015 chown snmptt:snmptt /etc/snmp/snmptt.ini
1016 /etc/rc.d/init.d/snmptt start
1017 cp snmptt.conf /etc/snmp/
Code: Select all
1019 /etc/rc.d/init.d/snmptt start
This threw out "cant find this and that"errors so I:
Code: Select all
yum install net-snmp-utils
yum install net-snmp-perl
yum install net-snmp-libs
but they were already installed sooo:
Code: Select all
1024 cd /tmp
1025 wget http://assets.nagios.com/downloads/nagiosxi/packages/snmptt-1.3-3.nagios.noarch.rpm
1026 yum --nogpgcheck localinstall snmptt-1.3-3.nagios.noarch.rpm
and then boom!: (the good boom):
Code: Select all
[root@Lkennagiosp02 snmptt_1.3]# service snmpd restart
Stopping snmpd: [ OK ]
Starting snmpd: [ OK ]
[root@Lkennagiosp02 snmptt_1.3]# service snmptt restart
Stopping snmptt: [ OK ]
Starting snmptt: [ OK ]
[root@Lkennagiosp02 snmptt_1.3]# service snmptrapd restart
Stopping snmptrapd: [ OK ]
Starting snmptrapd: [ OK ]
[root@Lkennagiosp02 snmptt_1.3]#
I have two issues:
1. This log file works:
Code: Select all
[root@Lkennagiosp02 snmptt_1.3]# tail -f /var/log/snmptt/snmpttsystem.log
Tue Sep 3 12:30:45 2013 Finished loading 693 lines from /etc/snmp/snmptt.conf
Tue Sep 3 12:30:45 2013 Changing to UID: snmptt (501)
Tue Sep 3 12:35:23 2013 SNMPTT v1.3 started
Tue Sep 3 12:35:23 2013 Loading /etc/snmp/snmptt.conf
Tue Sep 3 12:35:23 2013 Finished loading 693 lines from /etc/snmp/snmptt.conf
Tue Sep 3 12:35:23 2013 Changing to UID: snmptt (501)
Tue Sep 3 13:35:22 2013 SNMPTT v1.3 started
Tue Sep 3 13:35:23 2013 Loading /etc/snmp/snmptt.conf
Tue Sep 3 13:35:23 2013 Finished loading 693 lines from /etc/snmp/snmptt.conf
Tue Sep 3 13:35:23 2013 Changing to UID: snmptt (501)
but these two bad boys don't:
Code: Select all
[root@Lkennagiosp02 snmptt_1.3]# tail -f /var/log/snmp/snmptt.log
tail: cannot open `/var/log/snmp/snmptt.log' for reading: No such file or directory
and
tail -f /var/log/snmp/snmpttunknown.log
tail: cannot open `/var/log/snmp/snmpttunknown.log' for reading: No such file or directory
Do I manually add these files, or does this indicate that there is something else I need to install?
And next is the no holds barred royal rumble barbed wire cage match with : mofo mibs
As of right now I have not put your modified mibs in
folder.
I downloaded the mibs I need from the hp website. However, the mibs they give yah only have ".cfg" and ".mibs" files.
what do I do with em? I am only asking, because this is where it falls apart for me
OH! Lasty but not least, I changed standalone to daemon before I restarted the services.
Thanks for the patience and help so far man (yes I am trying to butter you up).