AIX Host Template
Moderators: Developers, Moderators
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
Yep, been trying to track that bug down...
It is weird...
Next version shouldn't have that problem, although I will be testing for it.
It is weird...
Next version shouldn't have that problem, although I will be testing for it.
[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 concerning the bug that was making this template, not "complete", I have fixed it and attached is a fixed version.
This resolved the Gprint type being wrong on 3 of the graphs causing them to sometimes not render.
This resolved the Gprint type being wrong on 3 of the graphs causing them to sometimes not render.
- Attachments
-
- Cacti_AIX_Template.zip
- AIX Host Template and Dependants:
Volume Group Usage
File System Usage/Statistics
CPU Utilization
Paging Utilization
Physical Volume Usage - (11.24 KiB) Downloaded 4077 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]
-
- Posts: 6
- Joined: Mon Feb 14, 2005 2:14 pm
- Location: Washington State
aixmibd change community name
Thank all of you for your work on this, I was able to follow your lead and get this up and running with one minor exception.
In changing the community name from "public" in the snmpd.conf file, the aixmibd process no longer is able to attach to the snmp agent.
I have tried starting the aixmibd service with the -c switch for the community name and no luck.
My snmpd.conf file 'community' section now looks like this:
#community public
community strongpass xxx.xxx.xxx.xxx 255.255.255.2xx readOnly
community public localhost
#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
I want the snmp information to only be grabbed from my xxx host using the 'strongpass' community name. The aixmibd service will start properly now, however, I am still able to grab the snmp information from any agent using the community name of 'public' in effect losing the security I want to put in place.
If any of you have successfully changed your community name and got the aixmibd service to run, I would appreciate your help.
Thanks,
David
In changing the community name from "public" in the snmpd.conf file, the aixmibd process no longer is able to attach to the snmp agent.
I have tried starting the aixmibd service with the -c switch for the community name and no luck.
My snmpd.conf file 'community' section now looks like this:
#community public
community strongpass xxx.xxx.xxx.xxx 255.255.255.2xx readOnly
community public localhost
#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
I want the snmp information to only be grabbed from my xxx host using the 'strongpass' community name. The aixmibd service will start properly now, however, I am still able to grab the snmp information from any agent using the community name of 'public' in effect losing the security I want to put in place.
If any of you have successfully changed your community name and got the aixmibd service to run, I would appreciate your help.
Thanks,
David
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
I ran into this exact same problem, and had to get IBM supports help on it.
After doing a IP trace of the agent, it was determined that the subagents where not attempting to connect to snmpd through localhost, but through the network interface which the request was coming in on. Btw, my response to IBM was a for them to create a reported bug on it, beyond my colorful words of expression.
The solution is to add line to the configuration that allows the IP address of your network interfaces access to snmpd with the public community.
Where yyy.yyy.yyy.yyy is the ip address of your network interface.
I know, seems weird, but it is the solution that I found to work, both with the snmpdv1 and snmpdv3 daemons. FYI syntax is more complicated with the snmpv3 daemons. And if you want the snmpdv3 to be encrypted, you have to download the daemon that supports encryption. It is not included with the Base Operating System TCPIP software package.
After doing a IP trace of the agent, it was determined that the subagents where not attempting to connect to snmpd through localhost, but through the network interface which the request was coming in on. Btw, my response to IBM was a for them to create a reported bug on it, beyond my colorful words of expression.
The solution is to add line to the configuration that allows the IP address of your network interfaces access to snmpd with the public community.
Code: Select all
#community public
community strongpass xxx.xxx.xxx.xxx 255.255.255.2xx readOnly
community public localhost
community public yyy.yyy.yyy.yyy 255.255.255.255 readOnly
#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
I know, seems weird, but it is the solution that I found to work, both with the snmpdv1 and snmpdv3 daemons. FYI syntax is more complicated with the snmpv3 daemons. And if you want the snmpdv3 to be encrypted, you have to download the daemon that supports encryption. It is not included with the Base Operating System TCPIP software package.
[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 with AIX snmpd
Ok... I can import the templates just fine. Thanks for those!
However, I'm still having issues getting the snmpd to work as expected.
Current config is:
snmpd.conf -
I have snmpd, hostmibd, aixmibd, snmpmibd, and dpid2 all running. If I try
From the 10.121.25.xx box I do snmpwalk and get a bunch of the standard interface stats, etc. and then:
Any ideas?
thanx!
However, I'm still having issues getting the snmpd to work as expected.
Current config is:
snmpd.conf -
Code: Select all
logging file=/usr/tmp/snmpd.log enabled
logging size=0 level=0
community password 10.121.25.xx 255.255.255.255 readOnly
community password 10.121.100.xx
community public localhost
community public 10.121.90.xx 255.255.255.255 readOnly
#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
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
Code: Select all
> snmpinfo -m dump -v | grep hrStorageDescr
genErr at position 1
Code: Select all
SNMPv2-SMI::mib-2.12.1.1.8.1 = INTEGER: 2
SNMPv2-SMI::mib-2.12.2.1.1.1 = INTEGER: 1
SNMPv2-SMI::mib-2.12.2.1.2.1 = Hex-STRING: 00 00 00
SNMPv2-SMI::mib-2.12.2.1.3.1 = INTEGER: 0
Error in packet.
Reason: (genError) A general failure occured
Failed object: SNMPv2-SMI::mib-2.12.2.1.3.1
thanx!
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
64 bit or 32 bit kernel? And are you running the 64 bit or 32 daemon?
What version and maintenance level are you running?
There are known problems with the 64 bit daemons. Do a ls of /usr/sbin/snmpd, this will tell you what deamon it is linked to.
Otherwise, I would say, contact IBM support.
What version and maintenance level are you running?
Code: Select all
oslevel -r
Otherwise, I would say, contact IBM support.
[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 works too Tony!
Tony,
I was able to test out the AIX 5.3 snmpd for this. And it works as expected. Thanks again for all of your help on this. At some point, I would like to figure out how to make my own templates so that I can get Solaris going.
Also, the only thing left that I haven't got working yet is the page file. Whenever I try to click on it to see graphs for past weeks, months, years..., none of the graphs show up. I did read that you had made some changes to the template because of some possible import/export things in cacti. I will be sure to check into that a little more...
Thanks,
Joe
I was able to test out the AIX 5.3 snmpd for this. And it works as expected. Thanks again for all of your help on this. At some point, I would like to figure out how to make my own templates so that I can get Solaris going.
Also, the only thing left that I haven't got working yet is the page file. Whenever I try to click on it to see graphs for past weeks, months, years..., none of the graphs show up. I did read that you had made some changes to the template because of some possible import/export things in cacti. I will be sure to check into that a little more...
Thanks,
Joe
Hi everybody,
for me everything works fine so far. I can connect to the AIX Workstation so SNMP runs already on it. But i dont get any Data back so i looked on the Workstation and the aixmibd deamon doesn't run because he isnt installed.
So i tried to find him and install it but where do i get it? I searched all the CDs but dindn't find it. Can anybody Help me where i can get the aixmibd deamon ?
for me everything works fine so far. I can connect to the AIX Workstation so SNMP runs already on it. But i dont get any Data back so i looked on the Workstation and the aixmibd deamon doesn't run because he isnt installed.
So i tried to find him and install it but where do i get it? I searched all the CDs but dindn't find it. Can anybody Help me where i can get the aixmibd deamon ?
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
If I remember correctly, it's in bos.net.tcp.client or maybe bos.net.tcp.server.
I'm not completely sure, have you tried searching IBM AIX Documentation Library?
I'm not completely sure, have you tried searching IBM AIX Documentation Library?
[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]
-
- Posts: 3
- Joined: Mon Mar 21, 2005 7:56 am
No rrd graph updated.
Hi,
I downloaded the Cacti_AIX_Template.zip posted by 'rony' the 17th of nov 03, I followed the instructions, everything went perfectly.
When I do a verbose query, I get all the infomation I need.
Verbose output of 'aix_fs.xml' script :
+ Running data query [13].
+ Found type = '3' [snmp query].
+ Found data query XML file at '/usr/local/cacti-0.8.6c/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'
+ Located input field 'aixFsIndex' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.4.1.2.6.191.6.2.1.1'
+ Found item [aixFsIndex='1'] index: 1 [from value]
....
+ Found item [aixFsIndex='19'] index: 19 [from value]
+ Located input field 'aixFsName' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.4.1.2.6.191.6.2.1.2'
+ Found item [aixFsName='/dev/hd4'] index: 1 [from value]
....
+ Found item [aixFsName='/dev/lv10'] index: 19 [from value]
+ Located input field 'aixFsMountPoint' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.4.1.2.6.191.6.2.1.3'
+ Found item [aixFsMountPoint='/'] index: 1 [from value]
....
+ Found item [aixFsMountPoint='/tempmkcd'] index: 19 [from value]
+ Found data query XML file at '/usr/local/cacti-0.8.6c/resource/snmp_queries/aix_fs.xml'
+ Found data query XML file at '/usr/local/cacti-0.8.6c/resource/snmp_queries/aix_fs.xml'
+ Found data query XML file at '/usr/local/cacti-0.8.6c/resource/snmp_queries/aix_fs.xml'
I configure a date source from the 'Data Template'(AIX File System), the output is:
/usr/local/rrdtool-1.0.49/bin/rrdtool create \
/usr/local/cacti-0.8.6c/rra/uxa_dba01_aixfsusedinodes_243.rrd \
--step 300 \
DS:aixFsSize:GAUGE:600:0:U \
DS:aixFsFree:GAUGE:600:0:U \
DS:aixFsNumINodes:GAUGE:600:0:U \
DS:aixFsUsedInodes:GAUGE:600:0:U \
RRA:AVERAGE:0.5:1:600 \
RRA:AVERAGE:0.5:6:700 \
RRA:AVERAGE:0.5:24:775 \
RRA:AVERAGE:0.5:288:797 \
RRA:MIN:0.5:1:600 \
RRA:MIN:0.5:6:700 \
RRA:MIN:0.5:24:775 \
RRA:MIN:0.5:288:797 \
RRA:MAX:0.5:1:600 \
RRA:MAX:0.5:6:700 \
RRA:MAX:0.5:24:775 \
RRA:MAX:0.5:288:797 \
RRA:LAST:0.5:1:600 \
RRA:LAST:0.5:6:700 \
RRA:LAST:0.5:24:775 \
RRA:LAST:0.5:288:797
When I create the date source, I put 1 for the 'Index Value',.
I can create the file manually, but it never get refreshed... I turn on the DEBUG mode, I get no errors.
I can use OID, the AIX CPU Utilization is working fine.
I'm using FC3.
AIX is 5.2 ML4
Can someone help me?
I downloaded the Cacti_AIX_Template.zip posted by 'rony' the 17th of nov 03, I followed the instructions, everything went perfectly.
When I do a verbose query, I get all the infomation I need.
Verbose output of 'aix_fs.xml' script :
+ Running data query [13].
+ Found type = '3' [snmp query].
+ Found data query XML file at '/usr/local/cacti-0.8.6c/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'
+ Located input field 'aixFsIndex' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.4.1.2.6.191.6.2.1.1'
+ Found item [aixFsIndex='1'] index: 1 [from value]
....
+ Found item [aixFsIndex='19'] index: 19 [from value]
+ Located input field 'aixFsName' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.4.1.2.6.191.6.2.1.2'
+ Found item [aixFsName='/dev/hd4'] index: 1 [from value]
....
+ Found item [aixFsName='/dev/lv10'] index: 19 [from value]
+ Located input field 'aixFsMountPoint' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.4.1.2.6.191.6.2.1.3'
+ Found item [aixFsMountPoint='/'] index: 1 [from value]
....
+ Found item [aixFsMountPoint='/tempmkcd'] index: 19 [from value]
+ Found data query XML file at '/usr/local/cacti-0.8.6c/resource/snmp_queries/aix_fs.xml'
+ Found data query XML file at '/usr/local/cacti-0.8.6c/resource/snmp_queries/aix_fs.xml'
+ Found data query XML file at '/usr/local/cacti-0.8.6c/resource/snmp_queries/aix_fs.xml'
I configure a date source from the 'Data Template'(AIX File System), the output is:
/usr/local/rrdtool-1.0.49/bin/rrdtool create \
/usr/local/cacti-0.8.6c/rra/uxa_dba01_aixfsusedinodes_243.rrd \
--step 300 \
DS:aixFsSize:GAUGE:600:0:U \
DS:aixFsFree:GAUGE:600:0:U \
DS:aixFsNumINodes:GAUGE:600:0:U \
DS:aixFsUsedInodes:GAUGE:600:0:U \
RRA:AVERAGE:0.5:1:600 \
RRA:AVERAGE:0.5:6:700 \
RRA:AVERAGE:0.5:24:775 \
RRA:AVERAGE:0.5:288:797 \
RRA:MIN:0.5:1:600 \
RRA:MIN:0.5:6:700 \
RRA:MIN:0.5:24:775 \
RRA:MIN:0.5:288:797 \
RRA:MAX:0.5:1:600 \
RRA:MAX:0.5:6:700 \
RRA:MAX:0.5:24:775 \
RRA:MAX:0.5:288:797 \
RRA:LAST:0.5:1:600 \
RRA:LAST:0.5:6:700 \
RRA:LAST:0.5:24:775 \
RRA:LAST:0.5:288:797
When I create the date source, I put 1 for the 'Index Value',.
I can create the file manually, but it never get refreshed... I turn on the DEBUG mode, I get no errors.
I can use OID, the AIX CPU Utilization is working fine.
I'm using FC3.
AIX is 5.2 ML4
Can someone help me?
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
You should be creating these graphs from the Device "Create new Graphs" Link. If you are not doing it from there, I can see why you are having problems.
[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]
Hi rony,
sorry i doesn't find it in these two packages. Have both installes and no aixmibd here
It is possible that i have a to old version? I still using AIX 5.1 Here. On the CD is printed Tivoli ready so i think because of this i can connect via SNMP but no aixmibd is installed by default.
Its very importand for me to get this to work becaus i do this as a project for my final exam as Trainee in my firm. Hope you can read my english
sorry i doesn't find it in these two packages. Have both installes and no aixmibd here
It is possible that i have a to old version? I still using AIX 5.1 Here. On the CD is printed Tivoli ready so i think because of this i can connect via SNMP but no aixmibd is installed by default.
Its very importand for me to get this to work becaus i do this as a project for my final exam as Trainee in my firm. Hope you can read my english
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
Well, I'm no AIX expert, but it might be part of the Performance Kit. I would strongly suggest you talk with IBM about where it comes from.
[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]
hrSystemNumUsers.0 = Wrong Type
HOST-RESOURCES-MIB::hrSystemNumUsers.0 = Wrong Type (should be Gauge32 or Unsigned32): INTEGER: 17
Did anyone get to the bottom of this? IBM isn't helping me much and I can not graph the users logged in, I assume because it is not returning a simple value, but a string...
any ideas?
Thanks.
Did anyone get to the bottom of this? IBM isn't helping me much and I can not graph the users logged in, I assume because it is not returning a simple value, but a string...
any ideas?
Thanks.
Who is online
Users browsing this forum: No registered users and 5 guests