AIX Host Template
Moderators: Developers, Moderators
aix template
I have aix servers that are running net-snmp. When I try to manually walk the mibs that are provided here, it is coming back with object does not exist error. How can I make these template work with net-snmp?
Thanks,
mike
Thanks,
mike
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
You don't, they are designed to work with the AIX SNMP Agent.
[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: 1
- Joined: Sun Jun 01, 2008 10:49 am
where is the file??
where is the attached file?
Re: AIX monitoring issue
I was having the exact same problem as Boyd on a previous post. Running snmpwalk from a remote server worked fine for all of the OID's that Cacti was requesting. In the Cacti query, the File Systems and Page Volumes worked fine, but the Physical Volumes and Volume Groups returned 0 rows in the verbose listing.
The problem was that the SNMP Timeout was too short. The default of 500ms on a host is way too quick for my loaded P5's to return the disk info. (Took around 4 seconds) I upped the value to 10 seconds (10000ms) and it seems to work fine!
Hope this helps anyone pulling their hair out. (Tony -- maybe include a README file in your template zip with a few hints? Maybe it'll help people from needing to read through 7 pages of forum chatter)
--Cal
The problem was that the SNMP Timeout was too short. The default of 500ms on a host is way too quick for my loaded P5's to return the disk info. (Took around 4 seconds) I upped the value to 10 seconds (10000ms) and it seems to work fine!
Hope this helps anyone pulling their hair out. (Tony -- maybe include a README file in your template zip with a few hints? Maybe it'll help people from needing to read through 7 pages of forum chatter)
--Cal
boydo wrote: Able to run on a remote box:
[root@myworkstation resource]# snmpwalk -c public -v 1 aixbox -O fn 1.3.6.1.4.1.2.6.191.6.2.1.1
.1.3.6.1.4.1.2.6.191.6.2.1.1.1 = INTEGER: 1
.1.3.6.1.4.1.2.6.191.6.2.1.1.2 = INTEGER: 2
.1.3.6.1.4.1.2.6.191.6.2.1.1.3 = INTEGER: 3
.1.3.6.1.4.1.2.6.191.6.2.1.1.4 = INTEGER: 4
....
.1.3.6.1.4.1.2.6.191.6.2.1.1.15 = INTEGER: 15
So this all seems to be working ok. But in Cacti reports smtp error. And all the data queries report no data returned.
+ Running data query [13].
+ Found type = '3' [snmp query].
+ Found data query XML file at '/usr/local/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/cacti-0.8.6h/resource/snmp_queries/aix_fs.xml'
+ Found data query XML file at '/usr/local/cacti-0.8.6h/resource/snmp_queries/aix_fs.xml'
+ Found data query XML file at '/usr/local/cacti-0.8.6h/resource/snmp_queries/aix_fs.xml'
+ Found data query XML file at '/usr/local/cacti-0.8.6h/resource/snmp_queries/aix_fs.xml'
+ Found data query XML file at '/usr/local/cacti-0.8.6h/resource/snmp_queries/aix_fs.xml'
-
- Posts: 15
- Joined: Mon Sep 29, 2008 9:09 am
Template error?
For an AIX 5.3.8 target host, querying "native" SNMPD, Cacti is throwing these errors:
========================================
Graph Templates
Graph Template Name
Create: AIX CPU Utilization
Create:
Data Query [AIX - Get File Systems] Reload Associated Query
Error in data query.
Notice: Undefined variable: column_counter in /cacti-0.8.7d/graphs_new.php on line 887
Select a graph type:
Data Query [AIX - Get Page Volumes] Reload Associated Query
Error in data query.
Data Query [AIX - Get Physical Volumes] Reload Associated Query
Error in data query.
Data Query [AIX - Get Volume Groups] Reload Associated Query
Error in data query.
Notice: Undefined variable: column_counter in /cacti-0.8.7d/graphs_new.php on line 887
=====================================
I get apparently valid results from an snmpwalk query (v1). Anybody experience this?
========================================
Graph Templates
Graph Template Name
Create: AIX CPU Utilization
Create:
Data Query [AIX - Get File Systems] Reload Associated Query
Error in data query.
Notice: Undefined variable: column_counter in /cacti-0.8.7d/graphs_new.php on line 887
Select a graph type:
Data Query [AIX - Get Page Volumes] Reload Associated Query
Error in data query.
Data Query [AIX - Get Physical Volumes] Reload Associated Query
Error in data query.
Data Query [AIX - Get Volume Groups] Reload Associated Query
Error in data query.
Notice: Undefined variable: column_counter in /cacti-0.8.7d/graphs_new.php on line 887
=====================================
I get apparently valid results from an snmpwalk query (v1). Anybody experience this?
-
- Posts: 15
- Joined: Mon Sep 29, 2008 9:09 am
found one problem.... on to next
ok, looks like the aix scripts in /resource/snmp_queries were missing. I added them (aix_{fs,vg,page,disk}.xml).
Now: it looks like the OIDs in the script don't match anything being returned by the snmpwalk query.
Now: it looks like the OIDs in the script don't match anything being returned by the snmpwalk query.
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
AIX Version?
These templates where developed on AIX 5.2 and 5.3.
These templates where developed on AIX 5.2 and 5.3.
[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: 15
- Joined: Mon Sep 29, 2008 9:09 am
Hi Guru Masters,
I would like to request for your help. Is it ok if you can post the template here for AIX 5.2. (the latest). Thanks... I can monitor my AIX 5.2. but there are no graphs being created, only network traffice and process are being graphd.
I'm currently using the default HOST SNMP Enabled template of CACTI.
thanks so much...
I would like to request for your help. Is it ok if you can post the template here for AIX 5.2. (the latest). Thanks... I can monitor my AIX 5.2. but there are no graphs being created, only network traffice and process are being graphd.
I'm currently using the default HOST SNMP Enabled template of CACTI.
thanks so much...
Hello CACTI Gurus,
Help wanted badly...
error in query... what do i need to do....
Help wanted badly...
error in query... what do i need to do....
- Attachments
-
- CACTI_20090715.pdf
- (17.18 KiB) Downloaded 741 times
-
- Posts: 20
- Joined: Thu Aug 20, 2009 7:41 am
-
- Posts: 15
- Joined: Mon Sep 29, 2008 9:09 am
AIX host template remains broken?
Is anybody working on the AIX host template? Any debugging hints?
Who is online
Users browsing this forum: No registered users and 6 guests