On 18 May 2012 10:41, Jérôme BELLEGARDE
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 object: NET-SNMP-TUTORIAL-MIB::nstAgen
et-snmp-users@lists.sourceforge.net
Objet : Re: Problem installing a MIB
On 18 May 2012 08:43, Jérôme BELLEGARDE
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 fo
On 18 May 2012 08:43, Jérôme BELLEGARDE
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.
But if you're running a self-compiled agent,
then that doe
c : net-snmp-users@lists.sourceforge.net
Objet : Re: Problem installing a MIB
On 16 May 2012 10:05, Jérôme BELLEGARDE
wrote:
> And when I try : /usr/local/sbin/snmpd -f -L -d -p
>
> I got :
>
> Warning: no access control information configured.
> (Config search path:
> /u
On 16 May 2012 10:05, Jérôme BELLEGARDE
wrote:
> And when I try : /usr/local/sbin/snmpd -f -L -d -p
>
> I got :
>
> Warning: no access control information configured.
> (Config search path:
> /usr/local/etc/snmp:/usr/local/share/snmp:/usr/local/lib/snmp:/home/dialog/.snmp)
How have you co
or opening specified endpoint ""
> Server Exiting with code 1
>
>
> Thx for your help
>
>
>
Run "snmpconf -g basic_setup" command, or write r/w community strings
in snmpd.conf
>
>
>
>
>
>
> Cordialement,
>
>
> Jérôme BELLEGARDE
>
>
>
nt ""
Server Exiting with code 1
Thx for your help
Cordialement,
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-use
BELLEGARDE
Cc : net-snmp-users@lists.sourceforge.net
Objet : Re: Problem installing a MIB
On 15 May 2012 15:25, Jérôme BELLEGARDE
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
On 15 May 2012 15:25, Jérôme BELLEGARDE
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 for snmptrapd).
You shouldn't have c
ent,
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
On 15 May 2012 15:25, Jérôme BELLEGARDE
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 command report:
which ln
ls
I'm doing /etc/init.d/snmpd restart, I got this error :
/etc/init.d/snmpd: 39: ln: not found
That's the line
if [ "$SNMPDCOMPAT" = "yes" ] && [ "$1" != status ]; then
ln -sf /var/agentx/master /var/run/agentx
fi
but I don't know how to
[ 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 Ma
On 15 May 2012 13:11, Jérôme BELLEGARDE
wrote:
> I have kept all defaut parameters while ./configure, only changed the snmp
> version to 2c. (2)
So the binary was installed into /usr/local/sbin/snmpd - yes?
>>> Have you tweaked [the /etc/init.d] script to work with your locally
> compiled ver
On 15 May 2012 10:22, Jérôme BELLEGARDE
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 usual location. )
> Restart /etc/
15 matches
Mail list logo