Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support  

 FAQFAQ   SearchSearch   MemberlistMemberlist    RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in    


[HOWTO] Install and configure the Net-SNMP agent for Unix
Goto page Previous  1, 2, 3, 4, 5
 
Post new topic   Reply to topic    Cacti Forum Index -> Informational/HOWTO's
Author Message
fmangeant
Cacti Guru User


Joined: 19 Sep 2003
Posts: 2324
Location: Sophia-Antipolis, France

PostPosted: Tue Dec 04, 2007 2:53 pm    Post subject: Reply with quote

Can you try the lib/functions.php from this thread ?

If that doesn't work, I guess you'll have to open a bug
Back to top
Smux



Joined: 10 Sep 2007
Posts: 35

PostPosted: Tue Dec 04, 2007 3:38 pm    Post subject: Reply with quote

No, this issue dont work for me. I create a issue for my problem here
Back to top
aixuser



Joined: 31 Jan 2008
Posts: 3

PostPosted: Thu Jan 31, 2008 3:15 pm    Post subject: Re:[HOWTO] Install and configure the Net-SNMP agent for Unix Reply with quote

> AIX Packages are available in the University of California repository:

This site is no longer available.
Is there any other site or place to download?

Thanks!
Back to top
gandalf
Developer


Joined: 02 Dec 2004
Posts: 11377
Location: Muenster, Germany

PostPosted: Fri Feb 01, 2008 7:19 am    Post subject: Reply with quote

Please search bullfreeware
Reinhard
Back to top
fmangeant
Cacti Guru User


Joined: 19 Sep 2003
Posts: 2324
Location: Sophia-Antipolis, France

PostPosted: Fri Feb 01, 2008 8:06 am    Post subject: Reply with quote

I've updated the HowTo with Bull links.
Back to top
gandalf
Developer


Joined: 02 Dec 2004
Posts: 11377
Location: Muenster, Germany

PostPosted: Fri Feb 01, 2008 9:31 am    Post subject: Reply with quote

I've updated http://docs.cacti.net accordingly
Reinhard
Back to top
utdrmac



Joined: 19 Dec 2007
Posts: 8

PostPosted: Tue Feb 26, 2008 1:32 pm    Post subject: Reply with quote

Nice HOWTO!

But 'exec' is now deprecated. Got a HOWTO on using 'extend' ?
Back to top
fmangeant
Cacti Guru User


Joined: 19 Sep 2003
Posts: 2324
Location: Sophia-Antipolis, France

PostPosted: Wed Feb 27, 2008 8:25 am    Post subject: Reply with quote

Hi

in fact 'exec' still works with 5.4 :
Code:
$ /usr/sbin/snmpd --version

NET-SNMP version:  5.4.1
Web:               http://www.net-snmp.org/
Email:             net-snmp-coders@lists.sourceforge.net

Code:
$ cat /etc/snmp/snmpd.conf
rocommunity public
disk /
exec foo /tmp/foo.sh

Code:
$ snmpwalk -v 1 -c public localhost exttable
UCD-SNMP-MIB::extIndex.1 = INTEGER: 1
UCD-SNMP-MIB::extNames.1 = STRING: foo
UCD-SNMP-MIB::extCommand.1 = STRING: /tmp/foo.sh
UCD-SNMP-MIB::extResult.1 = INTEGER: 0
UCD-SNMP-MIB::extOutput.1 = STRING: 123
UCD-SNMP-MIB::extErrFix.1 = INTEGER: noError(0)
UCD-SNMP-MIB::extErrFixCmd.1 = STRING:

But the 'exec' keyword does not work anymore with custom OIDs...

I'll update the HowTo soon.
Back to top
utdrmac



Joined: 19 Dec 2007
Posts: 8

PostPosted: Wed Feb 27, 2008 10:41 am    Post subject: Reply with quote

Quote:
But the 'exec' keyword does not work anymore with custom OIDs...


Exactly. And when I use 'extend' like this:

Code:
extend .1.3.6.1.4.1.2021.69 sysLoad /root/sysload_snmp.sh


I get incredibly long OIDs like this:

Code:
.1.3.6.1.4.1.2021.69.3.1.1.13.114.101.106.101.99.116.84.114.97.102.102.105.99


It works; just doesn't look right.
Back to top
Lonlie



Joined: 05 Jun 2008
Posts: 23
Location: France

PostPosted: Tue Aug 12, 2008 7:48 am    Post subject: Reply with quote

Hi

Cacti is installed on Xp et I want to recover informations from CentOs.
When I save a new device, I have a snmp error.

I followed the tutorial :

com2sec Local 192.168.1.105 public
group ROGroup v1 Local
view all included .1
access ROGroup "" v1 noauth exact all none none


I saved and I restarted the snmp Daemon ...
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Informational/HOWTO's All times are GMT - 5 Hours
Goto page Previous  1, 2, 3, 4, 5
Page 5 of 5

 



Powered by phpBB © 2001, 2005 phpBB Group