Sorry,
I just figured it out myself: The wrong behaviour shows only up if I do not send the 
output to a file by the switch -Lf. But as I intend to do this anyway (and did just my 
testing in the foreground with output to the screen), I got the impression that 
snmptrapd does not work as expected. Sorry for the confusion.
Rüdiger

-----Ursprüngliche Nachricht-----
Von: Eckhard Ruediger 
Gesendet: Mittwoch, 14. Juli 2004 19:36
An: '[EMAIL PROTECTED]'
Betreff: formatting of snmptrapd 'uptime'


Hello,
is there a possibility to format the output of snmptrapd for the uptime as a plain 
number? I tried to set "numericTimeticks yes" in snmp.conf, but it does change 
nothing. Looking into the code in the routine uptimeString() of mib.c I saw that it 
should be formatted in the intended way, if NETSNMP_DS_LIB_NUMERIC_TIMETICKS is set 
appropriately. But how can I set this? Or does uptimeString() not get called for traps?

Thanks for any help,
Rüdiger Eckhard
--
Siemens Information and Communication mobile    
                Internet: http://www.siemens-mobile.com
Phone   +49 89 636 76294
e-mail [EMAIL PROTECTED]
Sankt-Martinstraße 76
D-81541 Munich


-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_idG21&alloc_id040&op=click
_______________________________________________
Net-snmp-users mailing list
[EMAIL PROTECTED]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to