|
|
| Author |
Message |
morrisdavidj
Joined: 14 Feb 2005 Posts: 6 Location: Washington State
|
Posted: Tue May 03, 2005 11:06 am Post subject: |
|
|
I recently installed 0.8.6d on another box. I was able to import these AIX templates and get up and going without problem in a 0.8.6c environment. I am now receiving the following error:
Warning: Variable passed to each() is not an array or object
In looking at other posts, it appears that this can sometimes be fixed with making sure the path name is correct in the data queries and that the .xml files exist in that location. These check out as okay here.
What seems to be the key to importing templates created in a different version of cacti?
Any help is greatly appreciated. Thanks. |
|
| Back to top |
|
 |
rony Developer/Forum Admin
Joined: 17 Nov 2003 Posts: 5448 Location: Wisconsin, USA
|
Posted: Tue May 03, 2005 11:14 am Post subject: |
|
|
| Did you remember to copy the resource XML file to the resource directory? |
|
| Back to top |
|
 |
morrisdavidj
Joined: 14 Feb 2005 Posts: 6 Location: Washington State
|
Posted: Tue May 03, 2005 11:44 am Post subject: |
|
|
Tony,
The .xml files exist in /resources/snmp_queries/ and the data query shows "successfully located xml file."
When clicking on the associated graph template, the "not an array or object" error comes up with each data source. |
|
| Back to top |
|
 |
rony Developer/Forum Admin
Joined: 17 Nov 2003 Posts: 5448 Location: Wisconsin, USA
|
Posted: Tue May 03, 2005 11:55 am Post subject: |
|
|
| Have you tried reloading the template? |
|
| Back to top |
|
 |
morrisdavidj
Joined: 14 Feb 2005 Posts: 6 Location: Washington State
|
Posted: Tue May 03, 2005 12:05 pm Post subject: |
|
|
Tony,
I did try and reload the template, still receiving the same error. The error only occurs on the templates associated with a data query. The CPU template which does not rely on a query works fine. |
|
| Back to top |
|
 |
rony Developer/Forum Admin
Joined: 17 Nov 2003 Posts: 5448 Location: Wisconsin, USA
|
Posted: Tue May 03, 2005 1:00 pm Post subject: |
|
|
| All templates related to any data query? |
|
| Back to top |
|
 |
morrisdavidj
Joined: 14 Feb 2005 Posts: 6 Location: Washington State
|
Posted: Tue May 03, 2005 1:07 pm Post subject: |
|
|
Tony,
Sorry, I was referring only to the AIX templates. The default templates which are included in the Cacti installation that run from a data query work fine. |
|
| Back to top |
|
 |
hootjr29
Joined: 14 Feb 2005 Posts: 20
|
Posted: Tue Aug 23, 2005 8:12 am Post subject: |
|
|
Tony or anyone else,
Has anyone been able to monitor memory used in AIX? |
|
| Back to top |
|
 |
kiw0r
Joined: 17 Jun 2005 Posts: 18
|
Posted: Tue Aug 23, 2005 8:27 am Post subject: Anybody has a good snmp agent for Aix 4.2 and 5.2 ? |
|
|
Anybody have a good SNMP agent for AIX that :
- don't segfault
- give interface statistic without blocking it self
- works on 64bits machines as well ?
Because this "snmp" on original AIX is really a blooooooody pain in the ass.....
/Xavier |
|
| Back to top |
|
 |
rony Developer/Forum Admin
Joined: 17 Nov 2003 Posts: 5448 Location: Wisconsin, USA
|
Posted: Tue Aug 23, 2005 9:26 am Post subject: Re: Anybody has a good snmp agent for Aix 4.2 and 5.2 ? |
|
|
| kiw0r wrote: | | Because this "snmp" on original AIX is really a blooooooody pain in the ass..... |
You are correct, it is a PITA!!
You can attempt to compile NET-SNMP on the AIX boxes. Some people have had very good luck with this, I have yet to try it. |
|
| Back to top |
|
 |
kiw0r
Joined: 17 Jun 2005 Posts: 18
|
Posted: Tue Aug 23, 2005 11:03 am Post subject: Re: Anybody has a good snmp agent for Aix 4.2 and 5.2 ? |
|
|
| rony wrote: | | You can attempt to compile NET-SNMP on the AIX boxes. Some people have had very good luck with this, I have yet to try it. |
I did... On AIX 5.2 on P650 I have segfault for anything... or half done stats... So that's why I am asking that because :
- either the compiler I use (xlc) is buggy
- either the operating system is brain damaged so I cannot use it...
Whatever the choice AIX's snmp is a PITA and the compiler seems also to be brain damaged. |
|
| Back to top |
|
 |
afieffe
Joined: 30 Aug 2005 Posts: 7 Location: Paris, France
|
Posted: Wed Aug 31, 2005 4:53 am Post subject: |
|
|
Hi,
The only way i've found to monitor memory usage and activity on my AIX boxes is to user the perf agent from IBM.
It provides a lot of stats about the host activity :
http://www.oidview.com/mibs/2/XMSERVD-PERF-MIB.html
Regards |
|
| Back to top |
|
 |
Obi-Wan-YJ
Joined: 21 Sep 2005 Posts: 2 Location: Lincoln, NE
|
Posted: Wed Sep 21, 2005 11:40 am Post subject: AIX Disk I/O Throughput |
|
|
I'm using the AIX template on our 5.2 boxen, and it works great. However, I'd really like to be able to monitor disk I/O, similar to what's available from "iostat -d" or "topas". Is there an easy way to pull this via remote SNMP? I don't see it in the AIX template posted earlier.
I don't have the extra Performance Aide (PTX) package installed, and I don't intend to pay for it just to be able to monitor disk throughput.  |
|
| Back to top |
|
 |
rony Developer/Forum Admin
Joined: 17 Nov 2003 Posts: 5448 Location: Wisconsin, USA
|
Posted: Wed Sep 21, 2005 11:56 am Post subject: |
|
|
| 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. |
|
| Back to top |
|
 |
hootjr29
Joined: 14 Feb 2005 Posts: 20
|
Posted: Fri Oct 21, 2005 10:32 am Post subject: |
|
|
Tony,
Have you been able to monitor uptime in AIX? I've tried some the other uptime scripts in this forum that referent hrSystemUptime. When I use that on my linux and windows systems, everything works fine. However, in AIX the graph shows a number that seems to be days that its been up. But the graph never changes like it does for windows and linux.
Any suggestions?
Joe |
|
| Back to top |
|
 |
|