Page 1 of 1

I would like to know the location of files that have been co

Posted: Wed Nov 19, 2014 2:34 am
by skywalker
Hi,

Due to an increase in CPU utilization, the failure occurred in system have been monitored. So, the customer requests me the information has been collected by Nagios XI.
I would like to know the location of files that have been collected by Nagios XI for system statistics.

Is there any data such as "SAR" data in linux?

If there is the data, is it possible to analyze on the failure?

I just need evidence about the failure point.

Thanks.

Re: I would like to know the location of files that have bee

Posted: Wed Nov 19, 2014 10:29 am
by slansing
I would like to know the location of files that have been collected by Nagios XI for system statistics.
A bit confused by this statement, what files do you speak of? Maybe I can help clear this up for you, are you looking for local system statistics, or remote host statistics? Did someone tell you that some file was saved with vital system information? Because that is not necessarily the case. You can check your in-XI reports to see historical data which has been gathered, you can also parse the nagios.log if you wish. All analyzing would have to be done by you if it is not already handled via reports, once again, not really sure what you are getting at here.

Re: I would like to know the location of files that have bee

Posted: Wed Nov 19, 2014 11:46 pm
by skywalker
Sorry for being confusing to you because I lack the English language skills.

I am looking for remote host statistics.

A person is a systems engineer is responsible for the customer's site. I had a request from him about CPU usage of remote systems.

Some systems(HP-UX, Solaris..) are using custom scripts from http://exchange.nagios.org/ exchanges because it can not getting statistics on cpu, memory usages.

I know the location of the events is being collected in the nagios xi system.

It is /usr/log/nagios/var/log/nagios.log file or /usr/log/nagios/var/log/archives/ directory as you said.

When I see the remote system statistics in nagios xi, it will be only confirmed via nagios.log file?

Is it possible to create an perfomance graph like uplod file on the remote system using custom monitoring sctipts.

The file have uploaded is screenshot of my TEST system.

I can not see performance graph on remote systems which being monitored by nagios xi.

If I use custom monitoring scripts to monitor cpu usage of remote systems, Is there a problem to create a performance graph for monitored systems?

I wonder is only it.

Thanks.

Re: I would like to know the location of files that have bee

Posted: Thu Nov 20, 2014 4:26 pm
by lmiltchev
I can not see performance graph on remote systems which being monitored by nagios xi.
If I use custom monitoring scripts to monitor cpu usage of remote systems, Is there a problem to create a performance graph for monitored systems?
Not all of the plugins return perfdata. If your check returns perfdata, you should see some output to the right of the "|" (pipe), for example:
/usr/local/nagios/libexec/check_nrpe -H 192.168.x.x -t 60 -c check_cpu_stats -a '-w 85 -c 95'
OUTPUT: CPU STATISTICS OK: user=36.82% system=6.44% iowait=0.00% idle=56.74% | user=36.82% system=6.44% iowait=0.00%;85;95 idle=56.74%
Note: The text in red is the perfdata output.

Can you run one of the "problem" checks from the command line, and show us the check and the output of it?