Re: Problem installing a MIB

2012-05-29 Thread Dave Shield
On 18 May 2012 10:41, Jérôme BELLEGARDE j.bellega...@alpha-direct-services.com wrote: But :  snmpset -v2c -c tutset localhost: NET-SNMP-TUTORIAL-MIB::nstAgentModuleObject.0 = 5 Return me : Reason: wrong Length (The set value has an illegal length from what the agent expects) Failed

RE: Problem installing a MIB

2012-05-18 Thread Jérôme BELLEGARDE
BELLEGARDE --- -Message d'origine- De : Dave Shield [mailto:d.t.shi...@liverpool.ac.uk] Envoyé : jeudi 17 mai 2012 09:35 À : Jérôme BELLEGARDE Cc : net-snmp-users@lists.sourceforge.net Objet : Re: Problem installing

RE: Problem installing a MIB

2012-05-18 Thread Jérôme BELLEGARDE
: Problem installing a MIB On 18 May 2012 08:43, Jérôme BELLEGARDE j.bellega...@alpha-direct-services.com wrote: What is in your snmpd.conf file? My snmpd.conf file is locate on /etc/snmp/ (which is the basic way of the Ubuntu server). That's the location for the Ubuntu-provided agent - yes

Re: Problem installing a MIB

2012-05-17 Thread Dave Shield
On 16 May 2012 10:05, Jérôme BELLEGARDE j.bellega...@alpha-direct-services.com wrote: And when I try : /usr/local/sbin/snmpd -f -L -d -p I got : Warning: no access control information configured.  (Config search path:

RE: Problem installing a MIB

2012-05-16 Thread Jérôme BELLEGARDE
--- -Message d'origine- De : Dave Shield [mailto:d.t.shi...@liverpool.ac.uk] Envoyé : mardi 15 mai 2012 16:53 À : Jérôme BELLEGARDE Cc : net-snmp-users@lists.sourceforge.net Objet : Re: Problem installing a MIB On 15 May 2012 15:25, Jérôme BELLEGARDE j.bellega...@alpha-direct

Re: Problem installing a MIB

2012-05-16 Thread arif hussain
] Envoyé : mardi 15 mai 2012 16:53 À : Jérôme BELLEGARDE Cc : net-snmp-users@lists.sourceforge.net Objet : Re: Problem installing a MIB On 15 May 2012 15:25, Jérôme BELLEGARDE j.bellega...@alpha-direct-services.com wrote: Now the file is like this : export PATH=/usr/local/sbin Argh

Re: Problem installing a MIB

2012-05-15 Thread Dave Shield
On 15 May 2012 10:22, Jérôme BELLEGARDE j.bellega...@alpha-direct-services.com wrote: ./configure --with-mib-modules=nstAgentModuleObject Make Make install This is presumably installing a source-compiled version of the agent. Where was it installed to? ( /usr/local/sbin/snmpd would be the

Re: Problem installing a MIB

2012-05-15 Thread Dave Shield
[ First - *please* don't mail me privately, without copying any responses to the mailing list. I don't have the time or inclination to offer private, unpaid, SNMP consultancy. Keep discussions to the list, where others can both learn and offer advice. Thanks. ] On 15

RE: Problem installing a MIB

2012-05-15 Thread Jérôme BELLEGARDE
--- -Message d'origine- De : Dave Shield [mailto:d.t.shi...@liverpool.ac.uk] Envoyé : mardi 15 mai 2012 15:52 À : Jérôme BELLEGARDE Cc : Net-SNMP users Objet : Re: Problem installing a MIB [ First - *please* don't mail me privately, without copying

Re: Problem installing a MIB

2012-05-15 Thread Dave Shield
On 15 May 2012 15:25, Jérôme BELLEGARDE j.bellega...@alpha-direct-services.com wrote: But when I'm doing /etc/init.d/snmpd restart, I got this error : /etc/init.d/snmpd: 39: ln: not found Hmmm... I'd expect 'ln' to be a fairly standard command in any Linux distribution. What do the following

RE: Problem installing a MIB

2012-05-15 Thread Jérôme BELLEGARDE
--- -Message d'origine- De : Dave Shield [mailto:d.t.shi...@liverpool.ac.uk] Envoyé : mardi 15 mai 2012 16:35 À : Jérôme BELLEGARDE Cc : net-snmp-users@lists.sourceforge.net Objet : Re: Problem installing a MIB On 15 May 2012 15:25, Jérôme BELLEGARDE j.bellega...@alpha-direct

Re: Problem installing a MIB

2012-05-15 Thread Dave Shield
On 15 May 2012 15:25, Jérôme BELLEGARDE j.bellega...@alpha-direct-services.com wrote: Now the file is like this : export PATH=/usr/local/sbin Argh! That's why you're having problems. You only needed to change the references to /usr/sbin/snmpd to read /usr/local/sbin/snmpd (and similarly

RE: Problem installing a MIB

2012-05-15 Thread Jérôme BELLEGARDE
@lists.sourceforge.net Objet : Re: Problem installing a MIB On 15 May 2012 15:25, Jérôme BELLEGARDE j.bellega...@alpha-direct-services.com wrote: Now the file is like this : export PATH=/usr/local/sbin Argh! That's why you're having problems. You only needed to change the references to /usr