As weird as it seems, answering my own problem report, it seems that
we've found a solution to prevent this from happening:

Dnia 2010-10-20, śro o godzinie 16:49 +0200, rafal wiosna pisze:
> Oct 20 16:29:38 pfsetvlan(0) DEBUG: adding trapline 2010-10-20|
> 14:29:36|
> UDP: [192.168.251.37]:58414|0.0.0.0|BEGIN TYPE 0 END TYPE BEGIN
> SUBTYPE
> 0 END SUBTYPE BEGIN VARIABLEBINDINGS .1.3.6.1.2.1.1.3.0 
> = Timeticks: (464278347) 53 days, 17:39:43.47|.1.3.6.1.6.3.1.1.4.1.0 =
> OID: .1.3.6.1.4.1.9.9.315.0.0.1|.1.3.6.1.2.1.2.2.1.1.10041 = Wrong
> Type
> (should be INTEGER): Gauge32: 10041|.1.3.6.1.2.1.31.1.1.1
> .1.10041 = STRING:
> FastEthernet0/41|.1.3.6.1.4.1.9.9.315.1.2.1.1.10.10041 = STRING:
> "pZ��Am" END VARIABLEBINDINGS to queued trapList
> (main::addTrapLineToQueue) 

        I've logged bug 1098 which describes the problem.
http://www.packetfence.org/bugs/view.php?id=1098

        Basically, PF launches snmptrapd with a hard-coded option "-On" which
prevents OIDs to be converted to strings. But, according to: 

http://www.opensubscriber.com/message/[email protected]/290834.html

        when a node has a MAC address begining with a "printable" character(s)
it gets converted to a string, instead of expected hex-string.

        Launching snmptrapd with "-Onx" option will cure this. It can be
accomplished by changing a hard-coded daemon invocation string found in
lib/pf/lib/services.pm [near line 52 in 1.9.0]:

$flags{'snmptrapd'}
    = "-n -c $conf_dir/snmptrapd.conf -C -A -Lf
$install_dir/logs/snmptrapd.log -p $install_dir/var/snmptrapd.pid -Onx";

-- 
artegence - budujemy społeczności od 1995

Rafał Wiosna

Artegence Sp. z o. o.
ul. Wołoska 9A, 02-583 Warszawa
tel. (+48) 22 380 13 13
fax (+48) 22 380 13 14

Spółka wpisana do rejestru przedsiębiorców prowadzonego przez Sąd
Rejonowy dla m.st. Warszawy Wydział XIII Gospodarczy Krajowego Rejestru
Sądowego pod numerem KRS 0000066610 NIP: 521-30-18-541 wysokość kapitału
zakładowego: 51 500,00 PLN 

Treść tej wiadomości jest poufna i prawnie chroniona. Odbiorcą może być
jedynie jej adresat z wyłączeniem dostępu osób trzecich. Jeżeli nie
jesteś adresatem tej wiadomości, jej rozpowszechnianie, kopiowanie,
rozprowadzanie lub inne działanie o podobnym charakterze jest prawnie
zabronione i może być karalne. Jeżeli wiadomość ta jest adresowana do
Klientów Artegence, jakakolwiek opinia lub porada w niej zawarta podlega
odpowiednim warunkom umowy o świadczeniu usług na rzecz Klienta przez
Artegence. 





------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Packetfence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users

Reply via email to