logo       

Re: exec cache?: msg#00243

network.net-snmp.user

Subject: Re: exec cache?

Vaclav Vobornik said:
>> > exec MyDate /usr/bin/date
>> > in my snmpd.conf
>> OK - I've just set up exactly the same command.
>> (Except using "/bin/date")
>> > but every smtpget command returns new actual date/time stamp.
>> Strange - I get the same value for ~30s, just as expected.
>>
>> That's with 5.0.9 on a Linux box.
>> What release & architecture are you using?
>
> hmmmm....
>
> # uname -a
> SunOS sundat 5.8 Generic_108528-23 sun4u sparc SUNW,UltraAX-i2
>
> NET-SNMP version: 5.1 compiled with:
> '--prefix=/export/home/snmp/smagent' \
> '--with-default-snmp-version=3' \
> '--with-logfile=/var/log/snmpd.log' \
> '--with-persistent-directory=/var/net-snmp'

It appears to be broken in 5.1 and 5.1cvs. For me, these versions
create an empty cache file in the persistent directory, but never
write the command output into it.

I've dropped back to 5.0.9 until I can figure out what broke. This
version does indeed cache the output as documented.
-Alan


--
Alan Sparks, Sr. UNIX Administrator asparks@xxxxxxxxx
Quris, Inc. (720) 836-2058




-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@xxxxxxxxxxxxxxxxxxxxx
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise