Page 1 of 1

Performance Graph monitoring

Posted: Wed Jan 16, 2019 1:20 am
by keerthi.seetharaman
Hello Team,

Good Day.

There is a requirement to monitor performance graphs for certain services.

Would need your assistance on the same.

Reagrds,
Keerthi Prashanth S

Re: Performance Graph monitoring

Posted: Wed Jan 16, 2019 3:05 pm
by benjaminsmith
Hello Keerthi,

So I can best answer your question, can you provide a detailed example of what you would like to monitor?

Thank you.

Re: Performance Graph monitoring

Posted: Mon Jan 21, 2019 2:43 am
by keerthi.seetharaman
Hi Benjaminsmith,

For all AIX Systems the following Nagios Monitoring Services need Performance Graphs:
* CPU Load
* Disk Iostat
* FileSystem (all)

Let me know in case if any more details are required.

Regards,
Keerthi Prashanth S

Re: Performance Graph monitoring

Posted: Mon Jan 21, 2019 11:26 am
by benjaminsmith
Hello Keerthi,

If you're using AIX 7 or greater, I would recommend using the Nagios Cross Platform Agent (NCPA) to monitor the AIX systems.

Refer to the AIX installation Instructions in the following Guide:
https://assets.nagios.com/downloads/ncp ... g-NCPA.pdf

Start by using the NCPA Configuration Wizard
https://assets.nagios.com/downloads/nag ... ios-XI.pdf

For examples of configuring specific checks, please refer to our the check library on the Nagios Knowledgebase.
https://support.nagios.com/kb/article/f ... s-783.html

Re: Performance Graph monitoring

Posted: Tue Jan 22, 2019 5:43 am
by keerthi.seetharaman
Hello Benjamin,

We are not using NCPA client.

We are using nrpe client.

Please suggest.

Regards,
Keerthi Prashanth S

Re: Performance Graph monitoring

Posted: Tue Jan 22, 2019 12:46 pm
by lmiltchev
For all AIX Systems the following Nagios Monitoring Services need Performance Graphs:
* CPU Load
* Disk Iostat
* FileSystem (all)
Do you have these checks already configured but they do not return perfdata? What is the exact issue that you are having?

Can you show us the actual checks (CPU Load, Disk Iostat, FileSystem) run from the command line on the Nagios XI server, along with the output of it?

Also, show us how these commands are configured on the AIX box.

Re: Performance Graph monitoring

Posted: Fri Feb 01, 2019 4:01 am
by keerthi.seetharaman
Checks are already configured and perfadata is getting generated but performance graph are not getting generated.

CPU load :-

[nagios@ker-l-appmon01p ~]$ /usr/local/nagios/libexec/check_by_ssh -H abc -C "/home/nagios/nagios_scripts/check_cpuload.pl -w 40 -c 60" -t 60
OK - CPU load at 4.2% with avg. run queue of 5.4 on 128 CPUs.

IOSTAT :-

[nagios@ker-l-appmon01p ~]$ /usr/local/nagios/libexec/check_by_ssh -H abc -C "/home/nagios/nagios_scripts/check_iostat.pl -w 15 -c 20" -t 80
OK - CPU iowait usage for last 30 mins is at 1.2%.

Filesystem :-

[nagios@ker-l-appmon01p ~]$ /usr/local/nagios/libexec/check_by_ssh -H abc -C "/home/nagios/nagios_scripts/check_AIX_disk.sh -s / -w 90 -c 95"
OK - Filesystem is 78% full ::

Re: Performance Graph monitoring

Posted: Fri Feb 01, 2019 8:07 am
by scottwilkerson
The output returned for these plugins isn't returning performance data. To return performance data the plugin should have a | (pipe) followed by the performance data
e.g.

Code: Select all

OK - CPU load at 4.2% with avg. run queue of 5.4 on 128 CPUs.|load=4.2%;40;60
Not all plugings are created to return performance data, and some require you to add an additional argument to generate the perf data. checck the help for the plugin to see if this is an option

Code: Select all

/home/nagios/nagios_scripts/check_cpuload.pl -h

Re: Performance Graph monitoring

Posted: Wed Feb 06, 2019 4:21 am
by keerthi.seetharaman
Thanks for the update.

We will check on the same and get back to you in case if any clarifications required.

Re: Performance Graph monitoring

Posted: Wed Feb 06, 2019 9:43 am
by scottwilkerson
keerthi.seetharaman wrote:Thanks for the update.

We will check on the same and get back to you in case if any clarifications required.
Sounds good