>># snmptrap -c public -v 2c 127.0.0.1 "" 1.3.3.3.3.3.3.3 s ""
>>s: Missing type/value for variable
>>...:(
>Сори. Давно дело было с snmptrap. Посмотрите сами правильный синтаксис (man snmptrap).
>
LOG:
Oct 19 15:29:00 host1 snmptrapd[2057]: localhost.local [UDP: [127.0.0.1]:52332]: Trap , iso.3.6.1.2.1.1.3.0 = Timeticks: (2429370) 6:44:53.70, iso.3.6.1.6.3.1.1.4.1.0 = OID: iso.4.4.4.4.4.4.4, iso.2.2.2.2.2.2 = STRING: ""
Oct 19 15:29:00 host1 nmbd[2285]: [2005/10/19 15:29:00, 0] nmbd/nmbd.c:main(687)
Oct 19 15:29:00 host1 nmbd[2285]: standard input is not a socket, assuming -D option
Oct 19 15:29:00 host1 nmbd[2286]: [2005/10/19 15:29:00, 0] nmbd/asyncdns.c:start_async_dns(149)
Oct 19 15:29:00 host1 nmbd[2286]: started asyncdns process 2287
Oct 19 15:29:00 host1 nmbd[2288]: [2005/10/19 15:29:00, 0] nmbd/nmbd.c:main(687)
Oct 19 15:29:00 host1 nmbd[2288]: standard input is not a socket, assuming -D option
Oct 19 15:29:00 host1 nmbd[2289]: [2005/10/19 15:29:00, 0] nmbd/asyncdns.c:start_async_dns(149)
Oct 19 15:29:00 host1 nmbd[2289]: started asyncdns process 2290
Oct 19 15:29:00 host1 nmbd[2289]: [2005/10/19 15:29:00, 0] lib/pidfile.c:pidfile_create(91)
Oct 19 15:29:00 host1 nmbd[2289]: ERROR: nmbd is already running. File /var/run/nmbd.pid exists and process id 2286 is running.
Oct 19 15:29:00 host1 nmbd[2286]: [2005/10/19 15:29:00, 0] nmbd/nmbd_become_dmb.c:become_domain_master_browser_wins(327)
Oct 19 15:29:00 host1 nmbd[2286]: become_domain_master_browser_wins:
Oct 19 15:29:00 host1 nmbd[2286]: Attempting to become domain master browser on workgroup aaa, subnet UNICAST_SUBNET.
Oct 19 15:29:00 host1 nmbd[2286]: [2005/10/19 15:29:00, 0] nmbd/nmbd_become_dmb.c:become_domain_master_browser_wins(341)
Oct 19 15:29:00 host1 nmbd[2286]: become_domain_master_browser_wins: querying WINS server from IP 192.168.0.1 for domain master browser name aaa<1b> on workgroup aaa
Oct 19 15:29:00 host1 nmbd[2286]: [2005/10/19 15:29:00, 0] nmbd/nmbd_become_dmb.c:become_domain_master_stage2(113)
Oct 19 15:29:00 host1 nmbd[2286]: *****
Oct 19 15:29:00 host1 nmbd[2286]:
Oct 19 15:29:00 host1 nmbd[2286]: Samba server SLAYER is now a domain master browser for workgroup aaa on subnet UNICAST_SUBNET
Oct 19 15:29:00 host1 nmbd[2286]:
Oct 19 15:29:00 host1 nmbd[2286]: *****
Oct 19 15:29:00 host1 nmbd[2286]: [2005/10/19 15:29:00, 0] nmbd/nmbd_become_dmb.c:become_domain_master_browser_bcast(282)
Oct 19 15:29:00 host1 nmbd[2286]: become_domain_master_browser_bcast:
Oct 19 15:29:00 host1 nmbd[2286]: Attempting to become domain master
и т.д. и т.п.
Судя по логу - трап приходит один...