Script to find nmon for AIX

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
jdalrymple
Skynet Drone
Posts: 2620
Joined: Wed Feb 11, 2015 1:56 pm

Re: Script to find nmon for AIX

Post by jdalrymple »

Lot's of options. As I mentioned, you're a good portion of the way there with your currently selected plugin. You'll just need to get NRPE compiled and installed on your platform:

This document assumes Linux, if you are an AIX admin though most of the concepts should make sense to you:
https://assets.nagios.com/downloads/nag ... ios-XI.pdf

Once that's compiled and configured, the setup you currently have can be used to send the data back to the Nagios server.
raamardhani7
Posts: 459
Joined: Tue Jun 02, 2015 12:36 am

Re: Script to find nmon for AIX

Post by raamardhani7 »

jdalrymple wrote:Lot's of options. As I mentioned, you're a good portion of the way there with your currently selected plugin. You'll just need to get NRPE compiled and installed on your platform:

This document assumes Linux, if you are an AIX admin though most of the concepts should make sense to you:
https://assets.nagios.com/downloads/nag ... ios-XI.pdf

Once that's compiled and configured, the setup you currently have can be used to send the data back to the Nagios server.
Hi Jdalrymple,

I have installed the binaries and NRPE plugin is working fine. I wanted to have nmon monitored :)

Thanks again.
jdalrymple
Skynet Drone
Posts: 2620
Joined: Wed Feb 11, 2015 1:56 pm

Re: Script to find nmon for AIX

Post by jdalrymple »

raamardhani7 wrote:I have installed the binaries and NRPE plugin is working fine. I wanted to have nmon monitored
Perfect, and it seems your cron is working, so the only thing left is to add these commands to your nrpe.cfg. Something like the following at the bottom should work:

Code: Select all

command[check_nmon_cpu]=/path/to/check_nmon -F /etc/perf/nmonserver_name.nmon -k CPU_ID -s User%,Sys%,Wait%,Idl
command[check_nmon_pages]/path/to/check_nmon -F /etc/perf/nmonserver_name.nmon -k PAGE -s pgin,pgout,pgsin,pgsout
command[check_nmon_netio]=/path/to/check_nmon -F /etc/perf/nmonserver_name.nmon -k NET,NETERROR -s en0-read-KB/s,en0-write-KB/s,en0-ierrs,en0-oerrs,en0-collisions
command[check_nmon_diskio]=/path/to/check_nmon -F /etc/perf/nmonserver_name.nmon -k IOADAPT -s fcsx_read-KB/s,fcsx_write-KB/s,fcsx_xfer-tps
command[check_nmon_memory]=/path/to/check_nmon -F /etc/perf/nmonserver_name.nmon -k MEM -s Real Free %,Virtual free %
Then appropriate services setup in nagios that run a command something like:

Code: Select all

$USER1$/check_nrpe -H $HOSTADDRESS$ -c check_nmon_cpu
And the like

Make sense?
raamardhani7
Posts: 459
Joined: Tue Jun 02, 2015 12:36 am

Re: Script to find nmon for AIX

Post by raamardhani7 »

jdalrymple wrote:
raamardhani7 wrote:I have installed the binaries and NRPE plugin is working fine. I wanted to have nmon monitored
Perfect, and it seems your cron is working, so the only thing left is to add these commands to your nrpe.cfg. Something like the following at the bottom should work:

Code: Select all

command[check_nmon_cpu]=/path/to/check_nmon -F /etc/perf/nmonserver_name.nmon -k CPU_ID -s User%,Sys%,Wait%,Idl
command[check_nmon_pages]/path/to/check_nmon -F /etc/perf/nmonserver_name.nmon -k PAGE -s pgin,pgout,pgsin,pgsout
command[check_nmon_netio]=/path/to/check_nmon -F /etc/perf/nmonserver_name.nmon -k NET,NETERROR -s en0-read-KB/s,en0-write-KB/s,en0-ierrs,en0-oerrs,en0-collisions
command[check_nmon_diskio]=/path/to/check_nmon -F /etc/perf/nmonserver_name.nmon -k IOADAPT -s fcsx_read-KB/s,fcsx_write-KB/s,fcsx_xfer-tps
command[check_nmon_memory]=/path/to/check_nmon -F /etc/perf/nmonserver_name.nmon -k MEM -s Real Free %,Virtual free %
Then appropriate services setup in nagios that run a command something like:

Code: Select all

$USER1$/check_nrpe -H $HOSTADDRESS$ -c check_nmon_cpu
And the like

Make sense?
Thank you so much Jdalrymple.. You can close this thread now.. :)
Locked