I am sorry I foggot to out the definition:
uint64_t runtime_task_id;
As I understand I should not use uint64_t...
Thank you.
2009/2/19 Dave Shield
> 2009/2/19 Alexander Bubnov :
> > snmp_varlist_add_variable( ¬ification_vars,
> > persistent_task_oid, persistent_task_oid_length,
> > A
I guess here what I want
./agent/mibgroup/examples/netSnmpHostsTable.c
2009/2/19 Alexander Bubnov
> Thank you very much!
>
> Does different model from "data_set" one exist where I can change/delete
> table data?
>
> 2009/2/19 Dave Shield
>
>> 2009/2/18 Alexander Bubnov :
>> > 4. snmpwalk retur
Hi,
Thanks, the sub-agent is working fine on 32-Bit kernel mode both as an
agentx subagent and shared lib with dlmod. It is registering right OID.
Is there a work-around for the problem on 64-bit machine?
Regards,
Umashankar
--- On Thu, 19/2/09, Mike Ayers wrote:
> From: Mike Aye
I would like to know if there is a way to get the community name from
the pdu inside a handler request?
For example:
int abc_handler(netsnmp_mib_handler *handler,
netsnmp_handler_registration *reginfo,
netsnmp_agent_request_info *reqinfo,
> From: 이승열 [mailto:sunny...@probedigital.com]
> Sent: Thursday, February 19, 2009 3:09 AM
> I can monitor memory utilization and disk utilization. But, I
> can not monitor CPU utilization and interface utilization.
> After intensive testing, I found that some PCs can monitor
> CPU utilization
> From: umashankar tm [mailto:umashankar_...@yahoo.co.in]
> Sent: Thursday, February 19, 2009 4:38 AM
> I am also facing the same problem with Solaris10 Net-SNMP
> 5.0.9. My code works perfectly fine when it is run as a
> master agent. But if I run it as a agentx subagent, it seems
> to wor
Problem solved.
:)
Master Dave, your words are mine inspiration. Problem solved, has I was
thinking, it was a stupid thing that only has been discover thanks to your
knowledge. The path to the snmpd.conf (the one without the not edit) was wrong.
As soon as I notice that, the engineboot started
Well the agent is rewriting the file... but it rewrites always with the same
"copy".
With the commands you gave us, the debug is working fine and doesn't launch
errors or warnings.
It shows some exams to the rwuser defined in the other snmpd.conf (the normal
one without the not edit... :)) and
2009/2/19 Sergio Cabaço :
> My passwords are greater than 8 chars. Another thing I've notice is that, the
> engineBoot is always 1
> and never increments? I thing this might be a problem but I don't know the
> solution either.
> This engineBoot is in the same file, the snmpd.conf.
H...it sou
My passwords are greater than 8 chars. Another thing I've notice is that, the
engineBoot is always 1 and never increments? I thing this might be a problem
but I don't know the solution either. This engineBoot is in the same file, the
snmpd.conf.
Thank you once more,
Sérgio Cabaço
-Original
2009/2/19 Alexander Bubnov :
> snmp_varlist_add_variable( ¬ification_vars,
> persistent_task_oid, persistent_task_oid_length,
> ASN_COUNTER64,
> (const u_char *) persistent_task_id_value,
>persistent_task_id_value_length );
What is the definition of the var
I'm sorry to bother you again but this is very very strange. :s
I will try to explain the steps I'm following:
1. when running the ./configure, I gave the path to the persistent directory
where the snmpd.conf will appear.
2. After running the configure, I executed make.
3. At this point, the snmp
Hello, all!
subj. is it a bug?
const oid runtime_task_oid[] = {...};
const size_t runtime_task_oid_length = OID_LENGTH(runtime_task_oid);
//runtime_task_id = (runtime_task_id<<32)|(runtime_task_id>>32); if I
uncomment this line I can receive notification in exceted order
const u_char * runtime
Hi all,
Net-snmp has been ported into TI DSP DM6446 platform without any
cross-compiling problems.
As far as I know, net-snmp provides such information as CPU utilization, memory
utilization, interface utilization and disk utilization.
WhatsUp Gold(Windows XP) was used to monitor SNMP informat
Hi,
I am also facing the same problem with Solaris10 Net-SNMP 5.0.9. My code
works perfectly fine when it is run as a master agent. But if I run it as a
agentx subagent, it seems to work fine but does not respond to any queries.
I found that the problem is in OID registration. Please see
Hi,
I am also facing the same problem with Solaris10 Net-SNMP 5.0.9. My code
works perfectly fine when it is run as a master agent. But if I run it as a
agentx subagent, it seems to work fine but does not respond to any queries.
I found that the problem is in OID registration. Please see
Hi All,
First of all Thanks Dave for valuable support.
Well My requirement is like this:
1) I have a Agent and Sub-Agent Running on My system.( I am
using C coding )
2) While Run time , I have a multiple Sub-Agents implemented
by third party and they p
Hi Dave,
I have given below 4 report and I have compiled from net-snmp 5.4.2.1 source.
1)
spils/linux/target net-snmp-5.4.2.1 # snmpd -f -Le -Dagentx
registered debug token agentx, 1
/usr/local/share/snmp/snmpd.conf: line 202: Warning: Unknown token: exec.
/usr/local/share/snmp/snmpd.conf: lin
Me
Michael
--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with ope
Michael
--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open so
Thank you very much!
Does different model from "data_set" one exist where I can change/delete
table data?
2009/2/19 Dave Shield
> 2009/2/18 Alexander Bubnov :
> > 4. snmpwalk returns "ROW1" - how is it possible if I deleted all rows in
> Watcher()?
>
> You are using the data_set model, where th
Dave,
Thanks a lot for the information.
Thanks & Regards,
Suresh.
-Original Message-
From: dave.shi...@googlemail.com [mailto:dave.shi...@googlemail.com] On
Behalf Of Dave Shield
Sent: Wednesday, February 18, 2009 8:09 PM
To: Pamidipati, Suresh [NETPWR/INDIA/HYDE]
Cc: net-snmp-users@
2009/2/18 Alexander Bubnov :
> 4. snmpwalk returns "ROW1" - how is it possible if I deleted all rows in
> Watcher()?
You are using the data_set model, where the agent helper has the basic
responsibility for deciding what rows are valid, and what results to return.
By the time your handler is cal
2009/2/18 kusuma.bm :
> i would like to know whether net-snmp-5.4.2.1 implements
> SNMP-COMMUNITY-MIB to support SNMPv3 and SNMPv2c co-existence.
No.
Dave
--
Open Source Business Conference (OSBC), March 24-25, 2009, S
2009/2/19 ntwrkd :
> Why would I use one versus the other?
Well, one significant difference is in the handling of SET requests.
pass_persist() just has a single invocation for a SET request,
and each varbind is processed separately. That could lead to
problems if any of the assignments in the
2009/2/19 Raghu Ramaraj :
> If I run -
> spils/linux/target ~ # ls /var/agnetx
> ls: /var/agnetx: No such file or directory
Please read my message more carefully.
I asked about "/var/agentx", not "/var/agnetx"
> Here I am listing dir under /var/
>
> spils/linux/target ~ # ls /var/
> cach
Dear members,
Thank you very much for quick response!
Best regards,
Kawamo
> All licenses are under the BSD style. Just include a page in your
> documentation where all copyrights (all 7 of them) are listed and due
> aknowledged. Believe me, if you are writing an application, you will have
>
Hello,
We are using snprint_asciistring to get the null terminated ascistring.
int
snprint_asciistring(char *buf, size_t buf_len,
const u_char * cp, size_t len)
This how I am calling (just an example),
#define MAX_BUFFER_SIZE 1024
char buf[MAX_BUFFER_SIZE];
size_t buf
28 matches
Mail list logo