I finally have a secondary box that I can use to send test traps (original Nagios box) to my new Nagios box with.
I have verified that I have net-snmp-utils installed on both boxes. On the old Nagios box I verified the UCD-TRAP-TEST-MIB.txt file in the /usr/share/snmp/mibs.
When I tried to restart SNMPTT on that box, I see the following message:
Code: Select all
[root@nagiosxivm ~]# service snmptt restart
Stopping snmptt: [ OK ]
Starting snmptt: PID file: /var/run/snmptt.pid
Could not open configuration file: /usr/share/snmp/mibs/processed_mibs/.txt (No such file or directory) at /usr/local/sbin/snmptt line 2733.
[ OK ]
Code: Select all
unless (open SNMPTTCONF, $snmpttconffile)
{
warn "Could not open configuration file: $snmpttconffile ($!)";
if ($DEBUGGING >= 1)
{
print "\n\tCould not open configuration file: $snmpttconffile\n";
}
Code: Select all
[root@nagiosxivm ~]# snmptrap -v 1 -c roadway 10.250.2.55 UCD-TRAP-TEST-MIB::demotraps \ "" 6 17 "" SNMPv2-MIB::syslocation.0 s "Here"