AIX Host Template
Moderators: Developers, Moderators
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
Are the rrdtool files being created?
[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]
no graphs
yes they are.
i have posted a problem in help:general
http://forums.cacti.net/viewtopic.php?p=82571#82571
as i thought it was more pertinent, but considering the problem may be the AIX template, i may be wrong on that thought.
H
i have posted a problem in help:general
http://forums.cacti.net/viewtopic.php?p=82571#82571
as i thought it was more pertinent, but considering the problem may be the AIX template, i may be wrong on that thought.
- -rw-r--r-- 1 nagios nagios 367K 2006-11-07 11:56 hostname_aixfsusedinodes_473.rrd
-rw-r--r-- 1 nagios nagios 367K 2006-11-07 11:57 hostname_aixfsusedinodes_474.rrd
-rw-r--r-- 1 nagios nagios 367K 2006-11-07 11:58 hostname_aixfsusedinodes_475.rrd
-rw-r--r-- 1 nagios nagios 367K 2006-11-07 11:59 hostname_aixfsusedinodes_476.rrd
-rw-r--r-- 1 nagios nagios 367K 2006-11-07 11:55 hostname_aixfsusedinodes_477.rrd
-rw-r--r-- 1 nagios nagios 367K 2006-11-07 09:26 hostname_aixfsusedinodes_478.rrd
-rw-r--r-- 1 nagios nagios 367K 2006-11-07 11:56 hostname_aixfsusedinodes_479.rrd
-rw-r--r-- 1 nagios nagios 367K 2006-11-07 11:57 hostname_aixfsusedinodes_480.rrd
-rw-r--r-- 1 nagios nagios 367K 2006-11-07 11:58 hostname_aixfsusedinodes_481.rrd
-rw-r--r-- 1 nagios nagios 367K 2006-11-07 11:59 hostname_aixfsusedinodes_482.rrd
-rw-r--r-- 1 nagios nagios 367K 2006-11-07 11:55 hostname_aixfsusedinodes_483.rrd
-rw-r--r-- 1 nagios nagios 367K 2006-11-07 11:56 hostname_aixfsusedinodes_484.rrd
-rw-r--r-- 1 nagios nagios 367K 2006-11-07 11:57 hostname_aixfsusedinodes_485.rrd
-rw-r--r-- 1 nagios nagios 367K 2006-11-07 11:58 hostname_aixfsusedinodes_486.rrd
-rw-r--r-- 1 nagios nagios 94K 2006-11-07 11:59 hostname_aixpagepercent_487.rrd
-rw-r--r-- 1 nagios nagios 94K 2006-11-07 11:55 hostname_aixpagepercent_488.rrd
-rw-r--r-- 1 nagios nagios 185K 2006-11-07 11:56 hostname_aixpvfree_489.rrd
-rw-r--r-- 1 nagios nagios 185K 2006-11-07 11:57 hostname_aixpvfree_490.rrd
-rw-r--r-- 1 nagios nagios 185K 2006-11-07 11:58 hostname_aixpvfree_491.rrd
-rw-r--r-- 1 nagios nagios 458K 2006-11-07 11:58 hostname_aixvgsize_492.rrd
-rw-r--r-- 1 nagios nagios 458K 2006-11-07 11:59 hostname_aixvgsize_493.rrd
-rw-r--r-- 1 nagios nagios 458K 2006-11-07 11:55 hostname_aixvgsize_494.rrd
-rw-rw-r-- 1 nagios nagios 185K 2006-10-27 15:53 hostname_hdd_free_255.rrd
-rw-rw-r-- 1 nagios nagios 185K 2006-10-27 15:54 hostname_hdd_free_256.rrd
-rw-rw-r-- 1 nagios nagios 185K 2006-10-27 15:55 hostname_hdd_free_257.rrd
-rw-rw-r-- 1 nagios nagios 185K 2006-10-27 15:56 hostname_hdd_free_258.rrd
-rw-rw-r-- 1 nagios nagios 276K 2006-10-27 15:53 hostname_load_1min_252.rrd
-rw-r--r-- 1 nagios nagios 276K 2006-11-07 11:59 hostname_load_1min_390.rrd
-rw-rw-r-- 1 nagios nagios 94K 2006-10-27 15:56 hostname_mem_buffers_250.rrd
-rw-r--r-- 1 nagios nagios 94K 2006-11-07 11:57 hostname_mem_buffers_388.rrd
-rw-rw-r-- 1 nagios nagios 94K 2006-10-27 15:52 hostname_mem_swap_251.rrd
-rw-r--r-- 1 nagios nagios 94K 2006-11-07 11:58 hostname_mem_swap_389.rrd
-rw-rw-r-- 1 nagios nagios 94K 2006-10-27 15:55 hostname_proc_254.rrd
-rw-r--r-- 1 nagios nagios 94K 2006-11-07 11:56 hostname_proc_392.rrd
-rw-rw-r-- 1 nagios nagios 94K 2006-10-27 15:54 hostname_users_253.rrd
-rw-r--r-- 1 nagios nagios 94K 2006-11-07 11:55 hostname_users_391.rrd
H
"The difference between theory and practice, is that in theory, there is no difference between theory and practice."
"The first 90% of a project takes 90% of the time, the last 10% takes the other 90% of the time" - Murphy's Law
"The first 90% of a project takes 90% of the time, the last 10% takes the other 90% of the time" - Murphy's Law
aix template problem
has anyone else had a problem with "Unit Grid Value" in the AIX graph templates ?? I'm using rrdtool 1.2.x and it seems that the rrd.php format is suitable to the older version of rrdtool.
Can the maker of the AIX templates respond and let us know what he/she/it knows ?
H
Can the maker of the AIX templates respond and let us know what he/she/it knows ?
H
"The difference between theory and practice, is that in theory, there is no difference between theory and practice."
"The first 90% of a project takes 90% of the time, the last 10% takes the other 90% of the time" - Murphy's Law
"The first 90% of a project takes 90% of the time, the last 10% takes the other 90% of the time" - Murphy's Law
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
I am the maker of this template. It works fine with rrdtool 1.2.x, because I built it on a system that uses it. But that is irrelavant, as that does not matter for templates.
What version of Cacti are you running?
What version of Cacti are you running?
[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]
latest and greeatest
0.8.6iWhat version of Cacti are you running?
i ask about the templates, as the "Unit Grid Value" (which in turn causes the invalid --y-grid error) had to come from somewhere.
Don't take me wrong, i know the --y-grid error is in the php and not the template.
anyway, I've removed the "Unit Grid Value" entres and now the graphs are working.
H
"The difference between theory and practice, is that in theory, there is no difference between theory and practice."
"The first 90% of a project takes 90% of the time, the last 10% takes the other 90% of the time" - Murphy's Law
"The first 90% of a project takes 90% of the time, the last 10% takes the other 90% of the time" - Murphy's Law
As a follow on question, I've gotten this host template in place and for one AIX box it is getting data. It is also updating the rrd files. However, I'm only getting two graphs in Cacti.
I've had a lot of weird things happen to me with Cacti (almost always a user error ) but I'm pretty sure I haven't see this one before...
I've had a lot of weird things happen to me with Cacti (almost always a user error ) but I'm pretty sure I haven't see this one before...
Have I got a new "old problem"?
http://forums.cacti.net/viewtopic.php?t ... t&start=15
That's the error I'm getting from many of these graphs myself - going to correct it now.
http://forums.cacti.net/viewtopic.php?t ... t&start=15
That's the error I'm getting from many of these graphs myself - going to correct it now.
-
- Posts: 2
- Joined: Thu Dec 21, 2006 6:14 am
Im using this AIX template and for non HACMP LPARS it works very well indeed. For those LPARS that are using HACMP, however, nothing is returned:
Im fairly new to Cacti, AIX AND snmp, but I am guessing that this OID isnt the right one to use for AIX HACMP stuff. Can anyone assist?
Code: Select all
dan@ngct1:~$ snmpwalk -c public -v 1 172.29.6.9 -O fn 1.3.6.1.4.1.2.6.191
dan@ngct1:~$
I've got all of the scripts/templates working for AIX now - thanks to everyone. However, the one thing my AIX admins would still like to have, that they have via nmon (and I'm trying to avoid using nmon so that I can avoid using scripts via Cacti) is disk performance. It seems like it would be nothing to graph the results of iostat but again that would be a script based push/pull.
So the questions is, can you get this data via snmp? I found this article but am hopeful someone else might have already done it (and none of the rest of us needs to re-invent the wheel so far as Cacti configuration goes and possibly even the mib files) or there's an easier way:
http://www-941.ibm.com/collaboration/wi ... Monitoring
Plus, I'm not sure we own all of the software required to do that. I do know that our tivoli implementation was able to get this data and that it used SNMP for some things, just not sure that it used it for everything.
So the questions is, can you get this data via snmp? I found this article but am hopeful someone else might have already done it (and none of the rest of us needs to re-invent the wheel so far as Cacti configuration goes and possibly even the mib files) or there's an easier way:
http://www-941.ibm.com/collaboration/wi ... Monitoring
Plus, I'm not sure we own all of the software required to do that. I do know that our tivoli implementation was able to get this data and that it used SNMP for some things, just not sure that it used it for everything.
Hopefully I can attach an excerpt of our mib.defs file, as well as the MIB that was used to add it.
We still don't have the system configured correctly to view these - but we should be able to. smux required? Well, maybe someone here with more knowledge than I will be able to figure it out. I would just love to avoid running scripts to get this data.
We still don't have the system configured correctly to view these - but we should be able to. smux required? Well, maybe someone here with more knowledge than I will be able to figure it out. I would just love to avoid running scripts to get this data.
- Attachments
-
- mib.defs.txt
- (36.64 KiB) Downloaded 975 times
-
- XMSERVD-PERF-MIB.mib.txt
- (68.34 KiB) Downloaded 1033 times
-
- Posts: 2
- Joined: Thu Dec 21, 2006 6:14 am
Re: Help with AIX snmpd
I am having exactly this same problem. Did you fix it?
skwasha wrote: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 tryCode: 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
From the 10.121.25.xx box I do snmpwalk and get a bunch of the standard interface stats, etc. and then:Code: Select all
> snmpinfo -m dump -v | grep hrStorageDescr genErr at position 1
Any ideas?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!
Who is online
Users browsing this forum: No registered users and 3 guests