AIX Host Template - Version 0.1.1
Moderators: Developers, Moderators
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
AIX Host Template - Version 2.0
This is an update to the template I wrote over a year ago.
http://forums.cacti.net/viewtopic.php?t ... highlight=
Minor things where updated, added on graph for using the AIX mib for counting the number of processes. Other than that, the AIX snmp agent still sucks..
Any questions, please let me know.
http://forums.cacti.net/viewtopic.php?t ... highlight=
Minor things where updated, added on graph for using the AIX mib for counting the number of processes. Other than that, the AIX snmp agent still sucks..
Any questions, please let me know.
- Attachments
-
- AIX_CACTI_TEMPLATE.zip
- AIX Host Template and Dependants:
Volume Group Usage
File System Usage/Statistics
CPU Utilization
Processes
Paging Utilization
Physical Volume Usage - (12.45 KiB) Downloaded 1723 times
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
Never tried it with 4.3.x... Don't know, never really touched 4.3. I started working with AIX from version 5.1.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
Help ! Cant get this to work on my Cacti Installation
Hi,
I have tried to get this working on my AIX 5.3 (snmpd V1) system and cant seem to do it. I am running version H of cacti (which is the latest) and the template imported fine.
However, when i run the querys i get no data returned.
I have followed the previous threads on this and think I have everything as it should be (obviously not !!). ANy help would be greatly apreciated.
I have tried to get this working on my AIX 5.3 (snmpd V1) system and cant seem to do it. I am running version H of cacti (which is the latest) and the template imported fine.
However, when i run the querys i get no data returned.
I have followed the previous threads on this and think I have everything as it should be (obviously not !!). ANy help would be greatly apreciated.
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
Do you have the proper daemons configured and running?
You need the following running:
snmpd
dpid2
snmpmibd
aixmibd
hostmibd
Stop and start them in that order.
You need the following running:
snmpd
dpid2
snmpmibd
aixmibd
hostmibd
Stop and start them in that order.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
AIX 5.3 host template
Thanks Rony,
All the daemons are started in the correct order but with no success. I'm kinda guessing that the problem lies within my snmp conf setup. When I do a verbose query i get
+ Running data query [14].
+ Found type = '3' [snmp query].
+ Found data query XML file at '/usr/local/apache/htdocs/cacti-0.8.6h/resource/snmp_queries/aix_fs.xml'
+ XML file parsed ok.
+ Executing SNMP walk for list of indexes @ '.1.3.6.1.4.1.2.6.191.6.2.1.1'
+ No SNMP data returned
+ Found data query XML file at '/usr/local/apache/htdocs/cacti-0.8.6h/resource/snmp_queries/aix_fs.xml'
+ Found data query XML file at '/usr/local/apache/htdocs/cacti-0.8.6h/resource/snmp_queries/aix_fs.xml'
+ Found data query XML file at '/usr/local/apache/htdocs/cacti-0.8.6h/resource/snmp_queries/aix_fs.xml'
So I though that i had left out the line from the snmpd.conf fle to allow me access to that MIB. But my snmpd.conf looks as follows...
logging file=/usr/tmp/snmpd.log enabled
logging size=100000 level=0
community mycommstring 1.3.6.1.4.1.2.6.191
#community private 127.0.0.1 255.255.255.255 readWrite
#community system 127.0.0.1 255.255.255.255 readWrite 1.17.2
VACM_VIEW defaultView 1.3.6.1.4.1.2.6.191 - include -
view 1.17.2 system enterprises view
trap public 127.0.0.1 1.2.3 fe # loopback
#snmpd maxpacket=1024 querytimeout=120 smuxtimeout=60
smux 1.3.6.1.4.1.2.3.1.2.1.2 gated_password # gated
smux 1.3.6.1.4.1.2.3.1.2.2.1.1.2 dpid_password #dpid
snmpd smuxtimeout=200 #muxatmd
smux 1.3.6.1.4.1.2.3.1.2.3.1.1 muxatmd_password #muxatmd
smux 1.3.6.1.4.1.2.3.1.2.1.5 clsmuxpd_password #
Hang on.. Should I have replaced VACM_VIEW with my own data ?
Thanx
All the daemons are started in the correct order but with no success. I'm kinda guessing that the problem lies within my snmp conf setup. When I do a verbose query i get
+ Running data query [14].
+ Found type = '3' [snmp query].
+ Found data query XML file at '/usr/local/apache/htdocs/cacti-0.8.6h/resource/snmp_queries/aix_fs.xml'
+ XML file parsed ok.
+ Executing SNMP walk for list of indexes @ '.1.3.6.1.4.1.2.6.191.6.2.1.1'
+ No SNMP data returned
+ Found data query XML file at '/usr/local/apache/htdocs/cacti-0.8.6h/resource/snmp_queries/aix_fs.xml'
+ Found data query XML file at '/usr/local/apache/htdocs/cacti-0.8.6h/resource/snmp_queries/aix_fs.xml'
+ Found data query XML file at '/usr/local/apache/htdocs/cacti-0.8.6h/resource/snmp_queries/aix_fs.xml'
So I though that i had left out the line from the snmpd.conf fle to allow me access to that MIB. But my snmpd.conf looks as follows...
logging file=/usr/tmp/snmpd.log enabled
logging size=100000 level=0
community mycommstring 1.3.6.1.4.1.2.6.191
#community private 127.0.0.1 255.255.255.255 readWrite
#community system 127.0.0.1 255.255.255.255 readWrite 1.17.2
VACM_VIEW defaultView 1.3.6.1.4.1.2.6.191 - include -
view 1.17.2 system enterprises view
trap public 127.0.0.1 1.2.3 fe # loopback
#snmpd maxpacket=1024 querytimeout=120 smuxtimeout=60
smux 1.3.6.1.4.1.2.3.1.2.1.2 gated_password # gated
smux 1.3.6.1.4.1.2.3.1.2.2.1.1.2 dpid_password #dpid
snmpd smuxtimeout=200 #muxatmd
smux 1.3.6.1.4.1.2.3.1.2.3.1.1 muxatmd_password #muxatmd
smux 1.3.6.1.4.1.2.3.1.2.1.5 clsmuxpd_password #
Hang on.. Should I have replaced VACM_VIEW with my own data ?
Thanx
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
I remember going round and round with IBM support. You need to give access to snmp for localhost (127.0.0.1) with the community of public. Apparently this is the only way the sub agents will talk to the main agent. As there is no way to configure the community.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
Oh, I forgot to add....
I HATE THE AIX SNMP AGENT!
That is all.
I HATE THE AIX SNMP AGENT!
That is all.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
AIX 5.3 host template
Hi Tony,
Thanks for your help so far. My snmpd.conf looks like this now
logging file=/usr/tmp/snmpd.log enabled
logging size=100000 level=0
community public localhost readOnly 2.6.191
community public xxx.xxx.xxx.xxx 255.255.255.255 readOnly 2.6.191
community xxxxxxxx 2.6.191
#community private 127.0.0.1 255.255.255.255 readWrite
#community system 127.0.0.1 255.255.255.255 readWrite 1.17.2
VACM_VIEW defaultView 1.3.6.1.4.1.2.6.191 - include -
view 1.17.2 system enterprises view
view 2.6.191
trap public 127.0.0.1 1.2.3 fe # loopback
#snmpd maxpacket=1024 querytimeout=120 smuxtimeout=60
smux 1.3.6.1.4.1.2.3.1.2.1.2 gated_password # gated
smux 1.3.6.1.4.1.2.3.1.2.2.1.1.2 dpid_password #dpid
snmpd smuxtimeout=200 #muxatmd
smux 1.3.6.1.4.1.2.3.1.2.3.1.1 muxatmd_password #
smux 1.3.6.1.4.1.2.3.1.2.1.5 clsmuxpd_password #
Still no data return. You are sooo right. This snmp implementation sucks big style. I tried the snmp binaries for net-snmp but they just core dump, so I'm stuck with the aix daemon for now....bugger
Thanks for your help so far. My snmpd.conf looks like this now
logging file=/usr/tmp/snmpd.log enabled
logging size=100000 level=0
community public localhost readOnly 2.6.191
community public xxx.xxx.xxx.xxx 255.255.255.255 readOnly 2.6.191
community xxxxxxxx 2.6.191
#community private 127.0.0.1 255.255.255.255 readWrite
#community system 127.0.0.1 255.255.255.255 readWrite 1.17.2
VACM_VIEW defaultView 1.3.6.1.4.1.2.6.191 - include -
view 1.17.2 system enterprises view
view 2.6.191
trap public 127.0.0.1 1.2.3 fe # loopback
#snmpd maxpacket=1024 querytimeout=120 smuxtimeout=60
smux 1.3.6.1.4.1.2.3.1.2.1.2 gated_password # gated
smux 1.3.6.1.4.1.2.3.1.2.2.1.1.2 dpid_password #dpid
snmpd smuxtimeout=200 #muxatmd
smux 1.3.6.1.4.1.2.3.1.2.3.1.1 muxatmd_password #
smux 1.3.6.1.4.1.2.3.1.2.1.5 clsmuxpd_password #
Still no data return. You are sooo right. This snmp implementation sucks big style. I tried the snmp binaries for net-snmp but they just core dump, so I'm stuck with the aix daemon for now....bugger
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
Ok, Are you running 64 bit or 32 bit kernel? If you are running 64 bit, you need to make sure you are running the 64 bit version of snmpd.
Check the link in /usr/sbin/snmpd and see where it is pointed.
Check the link in /usr/sbin/snmpd and see where it is pointed.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
Well, are you running 64 bit or 32 bit kernel?
I can't recall the command to check this off the top of my head...
I can't recall the command to check this off the top of my head...
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
- fmangeant
- Cacti Guru User
- Posts: 2345
- Joined: Fri Sep 19, 2003 8:36 am
- Location: Sophia-Antipolis, France
- Contact:
Hi Tonyrony wrote:Well, are you running 64 bit or 32 bit kernel?
I can't recall the command to check this off the top of my head...
Code: Select all
bootinfo -K
32
Code: Select all
# bootinfo -y
64
[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]
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
Thank you, couldn't remember the util. lol, remembered the command line options, but not the name of the util.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
Who is online
Users browsing this forum: No registered users and 0 guests