On Thu, 2005-05-12 at 11:48, çåä wrote:
> I want to know current time of the snmpd agent at any moment.
> Is there a mib like sysUpTime.0 to let me know.
Yes.
HOST-RESOURCES-MIB::hrSystemDate.0
Dave
---
This SF.Net em
Dear Mr. Bert and all:
I am sorry for I didn’t describe the problem clearly.
I means that I want the code :
“Time=time(NULL);”
can be executed every second. What can I do?
Yuwei_qin
[EMAIL PROTECTED]
2005-05-14
> Dear all:
> I want to know current time of the snmpd agent at any moment. Is there a
> mib like sysUpTime.0 to let me know.
You could use the pass command to call an external script (see man
snmpd.conf). For example:
snmpd.conf:
pass.1.3.6.1.4.1.2021.255 /tmp/passtime
/tmp
".c"
but my mail client shows
,io.ci+
I am not really inclined to answer. Also, the bits in Chinese below, I
do not understand.
I want to know current time of the snmpd agent at any moment. Is
there a mib like sysUpTime.0 to let me know.
Not to my knowledge. What are you trying to ac
Dear all:
I want to know current time of the snmpd agent at any moment. Is there a
mib like sysUpTime.0 to let me know.
Or I have an idea is. I want to write two file ,“.c” and “.h”, to
compile in the agent. The problem I met is how can I let the code:
CurrentTime=time(NULL);
Executed