AIX Host Template

Templates, scripts for templates, scripts and requests for templates.

Moderators: Developers, Moderators

Post Reply
gsaray101
Cacti User
Posts: 233
Joined: Thu May 17, 2007 9:18 am

aix template

Post by gsaray101 »

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
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

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]
andrew0320
Posts: 1
Joined: Sun Jun 01, 2008 10:49 am

where is the file??

Post by andrew0320 »

where is the attached file?
volication
Posts: 1
Joined: Sat Sep 27, 2008 9:14 pm

Post by volication »

Does the SNMP must work in SNMPv3 ??
User avatar
calh
Posts: 15
Joined: Mon Mar 09, 2009 12:32 pm
Location: Fargo, ND

Re: AIX monitoring issue

Post by calh »

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
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'
jorje123456
Posts: 1
Joined: Wed May 13, 2009 7:04 am

Post by jorje123456 »

can someone re-post this template?
dklima
Posts: 8
Joined: Wed Aug 13, 2008 5:15 pm

Post by dklima »

Throbulator
Posts: 15
Joined: Mon Sep 29, 2008 9:09 am

Template error?

Post by Throbulator »

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?
Throbulator
Posts: 15
Joined: Mon Sep 29, 2008 9:09 am

found one problem.... on to next

Post by Throbulator »

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.
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

AIX Version?

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]
Throbulator
Posts: 15
Joined: Mon Sep 29, 2008 9:09 am

AIX template

Post by Throbulator »

AIX 5.3.8.

Is there a generic debug procedure posted on this site?

EDIT: Found one here.
HPL1706
Posts: 5
Joined: Tue Nov 18, 2008 12:00 am
Location: Philippines
Contact:

Post by HPL1706 »

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...
HPL1706
Posts: 5
Joined: Tue Nov 18, 2008 12:00 am
Location: Philippines
Contact:

Post by HPL1706 »

Hello CACTI Gurus,

Help wanted badly...

error in query... what do i need to do....
Attachments
CACTI_20090715.pdf
(17.18 KiB) Downloaded 741 times
sangayya.alagundimath
Posts: 20
Joined: Thu Aug 20, 2009 7:41 am

Post by sangayya.alagundimath »

template posted on this is not working, can any one post the updated aix template pls?
--SanG
Throbulator
Posts: 15
Joined: Mon Sep 29, 2008 9:09 am

AIX host template remains broken?

Post by Throbulator »

Is anybody working on the AIX host template? Any debugging hints?
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest