[HOWTO] Install and configure the Net-SNMP agent for Unix
Moderators: Developers, Moderators
- fmangeant
- Cacti Guru User
- Posts: 2345
- Joined: Fri Sep 19, 2003 8:36 am
- Location: Sophia-Antipolis, France
- Contact:
Can you try the lib/functions.php from this thread ?
If that doesn't work, I guess you'll have to open a bug
If that doesn't work, I guess you'll have to open a bug
[size=84]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
Re:[HOWTO] Install and configure the Net-SNMP agent for Unix
> 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!
This site is no longer available.
Is there any other site or place to download?
Thanks!
- fmangeant
- Cacti Guru User
- Posts: 2345
- Joined: Fri Sep 19, 2003 8:36 am
- Location: Sophia-Antipolis, France
- Contact:
I've updated the HowTo with Bull links.
[size=84]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
I've updated http://docs.cacti.net accordingly
Reinhard
Reinhard
- fmangeant
- Cacti Guru User
- Posts: 2345
- Joined: Fri Sep 19, 2003 8:36 am
- Location: Sophia-Antipolis, France
- Contact:
Hi
in fact 'exec' still works with 5.4 :
But the 'exec' keyword does not work anymore with custom OIDs...
I'll update the HowTo soon.
in fact 'exec' still works with 5.4 :
Code: Select all
$ /usr/sbin/snmpd --version
NET-SNMP version: 5.4.1
Web: http://www.net-snmp.org/
Email: net-snmp-coders@lists.sourceforge.net
Code: Select all
$ cat /etc/snmp/snmpd.conf
rocommunity public
disk /
exec foo /tmp/foo.sh
Code: Select all
$ 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:
I'll update the HowTo soon.
[size=84]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
Exactly. And when I use 'extend' like this:But the 'exec' keyword does not work anymore with custom OIDs...
Code: Select all
extend .1.3.6.1.4.1.2021.69 sysLoad /root/sysload_snmp.sh
Code: Select all
.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
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 ...
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 ...
-
- Posts: 5
- Joined: Fri Oct 17, 2008 6:38 am
How?
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?
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?
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Re: How?
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.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?
Reinhard
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.
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.
Who is online
Users browsing this forum: No registered users and 0 guests