Re: [Snmptt-users] SNMPTT/Dell Servers/MIBS Conversion
Brought to you by:
alex_b
|
From: Alex B. <al...@us...> - 2007-09-27 19:51:33
|
If you are running snmptt in daemon mode (recommended) then make sure you are calling snmptthandler and NOT snmptt in the snmptrapd.conf file. Alex Shabbir "SAHEB" Talib wrote: > I converted the SNMP Mib for Dell PowerEdge servers using the following command: > > ./snmpttconvertmib --in=10892.mib --out=/etc/snmp/snmptt.conf.dell --exec='/usr/local/nagios/libexec/eventhandlers/submit_check_result $r TRAP 1' > > I configured the snmptt.ini for debugging and got the following results. > > > ********** SNMPTT v1.2 started: Thu Sep 27 14:36:15 2007 ********** > > ********** Net-SNMP version 5.04 Perl module enabled ********** > > ********** DNS enabled ********** > > Invalid trap file. Expected a hostname on line 2 but got nothing > > Loading /etc/snmp/snmptt.conf.dell > Finished loading 839 lines from /etc/snmp/snmptt.conf.dell > > Finished loading configuration files > > Processing memory copy of configuration files > 49 EVENTs found > 49 EVENTs found that contain at least the mandatory FORMAT line > Finished processing memory copy of configuration files > > Exact match of trap NOT found in EVENT hash table > > Looking for wildcards in the EVENT hash table > > > Trap not defined... > > > Why am I getting the errors Invalid trap file. Expected a hostname on line 2 but got nothing and Trap not defined... > > Also when I do ps -Al snmptt does'nt show. > > What could be wrong?? > > Thanks in advance for your help. > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Snmptt-users mailing list > Snm...@li... > https://lists.sourceforge.net/lists/listinfo/snmptt-users |