Dears, I have de following problem

We have receiving snmptraps for differents  ip sources

I was used the snmptrad for logging then , the problem is
when I can specified the ip source to divided the log in different files

 command is something
like this

 Example


/usr/local/sbin/snmptrapd -Lf "${ANMDIR}/sga/data/xxxx.dat"
-p "${ANMDIR}/sga/datafiles/xxxxxx.process" -a -F
"%02.2H:%02.2J:

%02.2K|%A|%N|%w|%q|%v\n" 162 & 


I want to do something like this
/usr/local/sbin/snmptrapd -Lf "${ANMDIR}/sga/data/xxxx.dat"
-p "${ANMDIR}/sga/datafiles/xxxxxx.process" -a -F
"%02.2H:%02.2J:


%02.2K|%A|%N|%w|%q|%v\n" [IPADDRESS]162 & 

please let me know  if is clear, 

thanks in advance
Christian





      
------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to