AIX Monitoring Template via NMON

Addons for Cacti and discussion about those addons

Moderators: Moderators, Developers

Posts: 13
Joined: Wed May 16, 2012 5:35 am

Re: AIX Monitoring Template via NMON

#16 Post by henrikwils » Tue Jul 24, 2012 2:55 am

I don't understand how I can add graphs for e.g. IO Adapter usage properly.

Is this correct?

I go to Devices, select the desired AIX server and add an Associated Data Source for IO Adapter Statistics (what should I select in the Re-Index Method dropdown?).

If I click "Verbose Query" I get this:

Data Query Debug Information
+ Running data query [30].
+ Found type = '4' [Script Query].
+ Found data query XML file at '/usr/share/cacti/resource/script_queries/nmon_ioadapt.xml'
+ Error parsing XML file into an array.
+ Found data query XML file at '/usr/share/cacti/resource/script_queries/nmon_ioadapt.xml'
+ Found data query XML file at '/usr/share/cacti/resource/script_queries/nmon_ioadapt.xml'
+ Found data query XML file at '/usr/share/cacti/resource/script_queries/nmon_ioadapt.xml'

I get this error with all of the Graph Templates I can choose from (even cumulative CPU statistics, although that one works fine from the New Graphs guide.

My nmon_ioadapt.xml looks like this:

Code: Select all

        <name>NMON IO Adapter Statistics</name>
        <description>Reads out IO Adapter statistics using NMON</description>
        <script_path>/usr/bin/perl |path_cacti|/scripts/</script_path>
        <arg_prepend>|host_hostname| IOADAPT</arg_prepend>

                        <name>Device Name</name>
                        <name>Write KB/s</name>
                        <name>Read KB/s</name>

Posts: 1
Joined: Wed Sep 05, 2012 7:46 pm

Re: AIX Monitoring Template via NMON

#17 Post by johnagr » Wed Sep 05, 2012 9:00 pm

Thanks for the template, it seems to be working exactly as documented. I am however having a problem. It looks like there are intermittent issues when extracting data. I am getting the following message: Cannot open /usr/local/nagios/libexec/nmon.pattern, and then a whole lot of "Use of uninitialized value $attr in substitution" messages. This is random, for the most part data is extracted expected. You can see the result of these command problems below:


Posts: 1
Joined: Fri Oct 05, 2012 3:15 pm

Re: AIX Monitoring Template via NMON

#18 Post by bstate » Fri Oct 05, 2012 3:20 pm

I am not able to see any graphs for jfs, disk, or ioadapt. When I run the query from cli I do get output back. what could be the problem in Cacti?

Posts: 1
Joined: Mon Aug 07, 2017 9:17 pm

Re: AIX Monitoring Template via NMON

#19 Post by ffros » Mon Aug 07, 2017 9:29 pm

Hi Guys, I'm new with cacti and in this forum too, so sorry if i made any mistake posting. :)

I'm configuring cacti to monitor performace and usage for aix and linux servers.
I Follow this post and some other information and works pretty well!!
The problem i'm facing now is with some Virtual IO Servers, i have configured them as normal AIX servers and i can't get the npiv Fibre Channel adapters performance graph.
I don't know if it is a nmon configuration (i have tried with the -^ option )
/usr/bin/topas_nmon -f -s 30 -a 7 -t -L -A -w 4 -l 150 -I 0.1 -^ -m /tmp/nmon

Maybe the problem is with the nmon parse script...

Any help would be appreciated. Thank you!

Post Reply