Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support
It is currently Fri Oct 31, 2014 2:54 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 80 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6  Next
Author Message
 Post subject:
PostPosted: Tue Dec 04, 2007 2:53 pm 
Offline
Cacti Guru User
User avatar

Joined: Fri Sep 19, 2003 8:36 am
Posts: 2326
Location: Sophia-Antipolis, France
Can you try the lib/functions.php from this thread ?

If that doesn't work, I guess you'll have to open a bug :oops:

_________________

HOWTOs :
Templates :


Top
 Profile  
 
 Post subject:
PostPosted: Tue Dec 04, 2007 3:38 pm 
Offline

Joined: Mon Sep 10, 2007 2:47 pm
Posts: 40
No, this issue dont work for me. I create a issue for my problem here


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

Joined: Thu Jan 31, 2008 3:06 pm
Posts: 3
> 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!


Top
 Profile  
 
 Post subject:
PostPosted: Fri Feb 01, 2008 7:19 am 
Offline
Developer
User avatar

Joined: Thu Dec 02, 2004 2:46 am
Posts: 22461
Location: Muenster, Germany
Please search bullfreeware
Reinhard

_________________
Official Cacti Documentation
Official Debugging Help
Central Plugin Repository
Central Templates Repository


Top
 Profile  
 
 Post subject:
PostPosted: Fri Feb 01, 2008 8:06 am 
Offline
Cacti Guru User
User avatar

Joined: Fri Sep 19, 2003 8:36 am
Posts: 2326
Location: Sophia-Antipolis, France
I've updated the HowTo with Bull links.

_________________

HOWTOs :
Templates :


Top
 Profile  
 
 Post subject:
PostPosted: Fri Feb 01, 2008 9:31 am 
Offline
Developer
User avatar

Joined: Thu Dec 02, 2004 2:46 am
Posts: 22461
Location: Muenster, Germany
I've updated http://docs.cacti.net accordingly
Reinhard

_________________
Official Cacti Documentation
Official Debugging Help
Central Plugin Repository
Central Templates Repository


Top
 Profile  
 
 Post subject:
PostPosted: Tue Feb 26, 2008 1:32 pm 
Offline

Joined: Wed Dec 19, 2007 12:31 pm
Posts: 11
Nice HOWTO!

But 'exec' is now deprecated. Got a HOWTO on using 'extend' ?


Top
 Profile  
 
 Post subject:
PostPosted: Wed Feb 27, 2008 8:25 am 
Offline
Cacti Guru User
User avatar

Joined: Fri Sep 19, 2003 8:36 am
Posts: 2326
Location: Sophia-Antipolis, France
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.

_________________

HOWTOs :
Templates :


Top
 Profile  
 
 Post subject:
PostPosted: Wed Feb 27, 2008 10:41 am 
Offline

Joined: Wed Dec 19, 2007 12:31 pm
Posts: 11
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.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Aug 12, 2008 7:48 am 
Offline

Joined: Thu Jun 05, 2008 3:36 am
Posts: 23
Location: France
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 ...


Top
 Profile  
 
 Post subject:
PostPosted: Wed Sep 17, 2008 12:31 pm 
Offline

Joined: Sun Sep 14, 2008 7:34 pm
Posts: 2
Hi,

I did an snmpwalk on the .1.3.6.1.4.1.2021 (ucdavis)
to check all the stuff that is available.
But the extTable 1.3.6.1.4.1.2021.8 doesn't seem to be there.
prTable and dskTable are there but not extTable.
How can I add this part?

ty


Top
 Profile  
 
 Post subject:
PostPosted: Wed Sep 17, 2008 2:31 pm 
Offline
Developer
User avatar

Joined: Thu Dec 02, 2004 2:46 am
Posts: 22461
Location: Muenster, Germany
Please ask this question at the net-snmp-user mailing list
Reinhard

_________________
Official Cacti Documentation
Official Debugging Help
Central Plugin Repository
Central Templates Repository


Top
 Profile  
 
 Post subject: How?
PostPosted: Thu Feb 19, 2009 7:26 am 
Offline

Joined: Fri Oct 17, 2008 6:38 am
Posts: 5
I can't seem to understand how any of this works.

One point in particular confounds me: How do you know the OID of any particular process? Is there some way to list all of the OIDs currently in use, or a way to get an OID for a process? Would process x have the same OID on every machine or a unique one on any machine running it?


Top
 Profile  
 
 Post subject: Re: How?
PostPosted: Fri Feb 20, 2009 3:53 pm 
Offline
Developer
User avatar

Joined: Thu Dec 02, 2004 2:46 am
Posts: 22461
Location: Muenster, Germany
quequotion wrote:
I can't seem to understand how any of this works.

One point in particular confounds me: How do you know the OID of any particular process? Is there some way to list all of the OIDs currently in use, or a way to get an OID for a process? Would process x have the same OID on every machine or a unique one on any machine running it?
No. But if you create a script that first examines all "process name to index" correlations, you will then know the index to use for e.g. CPU usage.
Reinhard

_________________
Official Cacti Documentation
Official Debugging Help
Central Plugin Repository
Central Templates Repository


Top
 Profile  
 
 Post subject:
PostPosted: Mon Feb 23, 2009 5:53 am 
Offline

Joined: Fri Oct 24, 2008 12:41 am
Posts: 3
For me, I've been struggling to graph the snmp "STRING" outputs.
For example:
snmpwalk -v2c -c cdsro228 1.2.3.4 .1.3.6.1.4.1.2021.8.1.101.2
UCD-SNMP-MIB::extOutput.2 = STRING: 10

I setup the SNMP OID Graph Template as stated in the http://forums.cacti.net/viewtopic.php?t=15353 webpage

However, my graphs aren't showing up. I'm getting nan, but whenever the snmp result changes, I see a spike in my graph and then it goes back to zero.

Ideally, I am expecting result between 0 and 100, but whenever this spike happens, I see something like 70m 50u etc.

Is there anything I'm getting wrong? I've tried exec, extend, pass commands of snmp and I'm not making headway at all.

Any Help will be highly appreciated.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 80 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6  Next

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group