Thank you all.

Manuel Cano Muñoz <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <OF13CBAC98.6ABC5679-ONC12571AB.002F3012-C12571AB.003155A7@amper.es>
Hello.

I want to say a BIG thank you to Dave Shield and Alon Marx for their support.
Dave has guided me to the solution of one little problem that has lasted for almost two days here at my work.
Thank you all the people that support others in the mail lists, I've found why the registration of a scalar didn't
worked:

There is little difference in the following statements,

    static oid      nstAgentSubagentObject2_oid[] =
        { 1, 3, 6, 1, 4, 1, 8072, 2, 4, 1, 1, 3, 0 };
    static oid      nstAgentSubagentObject3_oid[] =
        { 1, 3, 6, 1, 4, 1, 8072, 2, 4, 1, 1, 4 };  /* <- The last `0' is missing expressly */

but I couldn't figure out why the first did run with

netsnmp_register_int_instance

and not with the combination of:

netsnmp_create_handler_registration
netsnmp_create_watcher_info
netsnmp_register_watched_scalar

The second statement, of course, works with the watched_scalar. (I don't understand why yet, but I will)

These are my first steps in the SNMP world, but my work requires me to learn it thoroughly, so I hope I'll "see" you
again.
(And I hope the next time I'll be helping others as well)


Thank you very much.




Manuel Cano Muñoz
manuel - at-sign -  sistedec  - dot -  es [email obfuscator]
http://www.sisdetec.es/


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.