logo       

Re: exec cache?: msg#00234

network.net-snmp.user

Subject: Re: exec cache?

> > 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'

root@sundat:/export/home/snmp/smagent# bin/snmpget -O n -v 1 -c public
localhost 1.3.6.1.4.1.2021.8.1.101.2
.1.3.6.1.4.1.2021.8.1.101.2 = STRING: Fri Jan 23 13:43:26 MET 2004
root@sundat:/export/home/snmp/smagent# bin/snmpget -O n -v 1 -c public
localhost 1.3.6.1.4.1.2021.8.1.101.2
.1.3.6.1.4.1.2021.8.1.101.2 = STRING: Fri Jan 23 13:43:30 MET 2004
root@sundat:/export/home/snmp/smagent# bin/snmpget -O n -v 1 -c public
localhost 1.3.6.1.4.1.2021.8.1.101.2
.1.3.6.1.4.1.2021.8.1.101.2 = STRING: Fri Jan 23 13:43:35 MET 2004
root@sundat:/export/home/snmp/smagent# bin/snmpget -O n -v 1 -c public
localhost 1.3.6.1.4.1.2021.8.1.101.2
.1.3.6.1.4.1.2021.8.1.101.2 = STRING: Fri Jan 23 13:43:40 MET 2004

snmpd is running as root and there is no file .snmp-exec-cache anywhere (as
defined in include/net-snmp/net-snmp-config.h)


Any suggestions?

Vaclav Vobornik



-------------------------------------------------------
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