|
|
| Author |
Message |
rony Developer/Forum Admin
Joined: 17 Nov 2003 Posts: 5448 Location: Wisconsin, USA
|
Posted: Mon Nov 06, 2006 7:55 pm Post subject: |
|
|
| Are the rrdtool files being created?
|
|
| Back to top |
|
 |
Hiney Cacti User
Joined: 16 Oct 2006 Posts: 55
|
Posted: Mon Nov 06, 2006 8:02 pm Post subject: 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.
-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
thanks
H
|
|
| Back to top |
|
 |
Hiney Cacti User
Joined: 16 Oct 2006 Posts: 55
|
Posted: Mon Nov 06, 2006 9:54 pm Post subject: 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
|
|
| Back to top |
|
 |
rony Developer/Forum Admin
Joined: 17 Nov 2003 Posts: 5448 Location: Wisconsin, USA
|
Posted: Tue Nov 07, 2006 8:25 am Post subject: |
|
|
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?
|
|
| Back to top |
|
 |
Hiney Cacti User
Joined: 16 Oct 2006 Posts: 55
|
Posted: Tue Nov 07, 2006 5:58 pm Post subject: latest and greeatest |
|
|
| Quote: | | What version of Cacti are you running? |
0.8.6i
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
|
|
| Back to top |
|
 |
knobdy Cacti User
Joined: 28 Sep 2005 Posts: 495
|
Posted: Fri Dec 15, 2006 2:16 pm Post subject: |
|
|
| Looks like I'm missing some of the knowledge a previous user asked about as well - how do you get these extended OIDs implemented? I'm guessing that you do it on the target machine, as opposed to Cacti machine, but how...exactly?
|
|
| Back to top |
|
 |
knobdy Cacti User
Joined: 28 Sep 2005 Posts: 495
|
Posted: Fri Dec 15, 2006 3:20 pm Post subject: |
|
|
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...
|
|
| Back to top |
|
 |
knobdy Cacti User
Joined: 28 Sep 2005 Posts: 495
|
|
| Back to top |
|
 |
HRH_H_Crab
Joined: 21 Dec 2006 Posts: 2
|
Posted: Thu Dec 21, 2006 6:18 am Post subject: |
|
|
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:
| Code: |
dan@ngct1:~$ snmpwalk -c public -v 1 172.29.6.9 -O fn 1.3.6.1.4.1.2.6.191
dan@ngct1:~$
|
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?
|
|
| Back to top |
|
 |
knobdy Cacti User
Joined: 28 Sep 2005 Posts: 495
|
Posted: Fri Dec 22, 2006 12:58 pm Post subject: |
|
|
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/wiki/display/WikiPtype/VIOS_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.
|
|
| Back to top |
|
 |
knobdy Cacti User
Joined: 28 Sep 2005 Posts: 495
|
Posted: Fri Dec 22, 2006 1:32 pm Post subject: |
|
|
| rony wrote: | | I think you do need that package to get those stats through SNMP. Otherwise, you can use utilties such as Nmon to export them to a text file and then read them with cacti that way. |
We've got the package, how do we get the disk I/O data?
|
|
| Back to top |
|
 |
knobdy Cacti User
Joined: 28 Sep 2005 Posts: 495
|
Posted: Tue Dec 26, 2006 10:06 am Post subject: |
|
|
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.
| Description: |
|
 Download |
| Filename: |
XMSERVD-PERF-MIB.mib.txt |
| Filesize: |
68.34 KB |
| Downloaded: |
423 Time(s) |
| Description: |
|
 Download |
| Filename: |
mib.defs.txt |
| Filesize: |
36.64 KB |
| Downloaded: |
386 Time(s) |
|
|
| Back to top |
|
 |
HRH_H_Crab
Joined: 21 Dec 2006 Posts: 2
|
Posted: Fri Jan 19, 2007 7:35 am Post subject: |
|
|
Just bumping as I am still not clear how to get stuff for the HACMP LPARS.
Something seems to change the snmp configuration when HACMP is installed which makes it unreadable. Is there a Cacti plugin for HACMP?
Anyone got any pointers?
|
|
| Back to top |
|
 |
spieg
Joined: 27 Dec 2005 Posts: 23
|
Posted: Tue Mar 13, 2007 5:12 pm Post subject: |
|
|
rony: Thanks for putting all of this together.
Hiney: Thanks for outlining your setup, the problems you had, and the solutions you found.
Using the contributions in this thread, im happily monitoring my AIX 5.2 boxes with cacti.
|
|
| Back to top |
|
 |
rafa
Joined: 11 May 2007 Posts: 1 Location: Montevideo
|
Posted: Fri May 11, 2007 11:55 am Post subject: 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 -
| Code: | 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
|
I have snmpd, hostmibd, aixmibd, snmpmibd, and dpid2 all running. If I try | Code: | > snmpinfo -m dump -v | grep hrStorageDescr
genErr at position 1 |
From the 10.121.25.xx box I do snmpwalk and get a bunch of the standard interface stats, etc. and then:
| Code: | 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
|
Any ideas?
thanx! |
|
|
| Back to top |
|
 |
|