Re: Extending the agent

"Dave Shield" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
2008/5/21 CHAHIBI Samira <[email protected]>:
> I want to extend my agent with a mib containing one simple integer variable.
> My problem is that i can't make snmpget on my variable.

Have a look at the FAQ entry
   I've added my code to this template and it still doesn't work. Why not?
       http://www.net-snmp.org/wiki/index.php/FAQ:Coding_13

This contains a checklist of possible problems, and how to check them.


> [root@pc-00021 snmp]# snmpget -v 2c -c local localhost sysUpTime.0
> DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (57390) 0:09:33.90

The one thing that's missing from this list is access control.
Can you see anything *outside* the system group?

If not, then see the FAQ entry
  I can see the system group, but nothing else. Why?
      http://www.net-snmp.org/wiki/index.php/FAQ:Applications_05


Dave

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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.