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.
Script to find nmon for AIX
-
jdalrymple
- Skynet Drone
- Posts: 2620
- Joined: Wed Feb 11, 2015 1:56 pm
-
raamardhani7
- Posts: 459
- Joined: Tue Jun 02, 2015 12:36 am
Re: Script to find nmon for AIX
Hi Jdalrymple,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.
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
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:raamardhani7 wrote:I have installed the binaries and NRPE plugin is working fine. I wanted to have nmon monitored
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 %Code: Select all
$USER1$/check_nrpe -H $HOSTADDRESS$ -c check_nmon_cpuMake sense?
-
raamardhani7
- Posts: 459
- Joined: Tue Jun 02, 2015 12:36 am
Re: Script to find nmon for AIX
Thank you so much Jdalrymple.. You can close this thread now..jdalrymple wrote: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:raamardhani7 wrote:I have installed the binaries and NRPE plugin is working fine. I wanted to have nmon monitored
Then appropriate services setup in nagios that run a command something like: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 %
And the likeCode: Select all
$USER1$/check_nrpe -H $HOSTADDRESS$ -c check_nmon_cpu
Make sense?