[Nagios-users] Can Nagios keep the data returned from the services?

2007-08-30 Thread Chris Lee
Hi,

I am new to nagios and just set up one a few days ago. I am using Nagios to 
monitor the CPU, Memory usage and disk usage of the my servers. I would like to 
know if Nagios is able to keep the data (ie. cpu, memory, disk usage data) 
returned by the services from those hosts. I need the data because I will use 
it for capacity planning and for some simple monthly reports. Can I make use of 
 Nagios for this purpose?

Thanks a lot,

- Chris Lee

---
The mailing list archive is found here:
http://www.nagiosexchange.org/nagios-users.34.0.html


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] Can Nagios keep the data returned from the services?

2007-08-30 Thread Andy Shellam (Mailing Lists)
Hi Chris,

I'm looking at the possibility of doing this myself over the coming months.
Unfortunately, I can only give you a pointer.  I believe what you're looking
for is performance data - that is, when a plugin returns it's output, a
specially crafted string at the end of the output (containing the statistics
- e.g cpu usage, memory usage etc) for that particular plugin can be parsed
by Nagios and processed in some way.

However, not having done this, I'm not privy to how it works - lookup the
performance-related config directives in the Nagios 2 documentation, I'm
sure this will provide an insight.

Andy.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Chris Lee
Sent: Thursday, 30 August, 2007 7:44 am
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] Can Nagios keep the data returned from the services?

Hi,

I am new to nagios and just set up one a few days ago. I am using Nagios to
monitor the CPU, Memory usage and disk usage of the my servers. I would like
to know if Nagios is able to keep the data (ie. cpu, memory, disk usage
data) returned by the services from those hosts. I need the data because I
will use it for capacity planning and for some simple monthly reports. Can I
make use of  Nagios for this purpose?

Thanks a lot,

- Chris Lee

---
The mailing list archive is found here:
http://www.nagiosexchange.org/nagios-users.34.0.html


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

!DSPAM:37,46d66738107502094449794!






-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] Can Nagios keep the data returned from the services?

2007-08-30 Thread Chris Lee
Hi All,

Thank you very much for giving me the useful information. I think these are the 
parameters that I need :)

process_performance_data
host_perfdata_file
service_perfdata_file
host_perfdata_template
service_perdata_template
host_perfdata_file_processing_command
service_perfdata_file_processing_command
host_perfdata_command
service_perfdata_command

Best Regards,

-- Chris



---
This thread is located in the archive at this URL:
http://www.nagiosexchange.org/nagios-users.34.0.html?tx_maillisttofaq_pi1[showUid]=3937


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] Can Nagios keep the data returned from the services?

2007-08-30 Thread Thomas Guyot-Sionnest
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 30/08/07 10:40 PM, Chris Lee wrote:
 Hi All,
 
 Thank you very much for giving me the useful information. I think these are 
 the parameters that I need :)
 
 process_performance_data
 host_perfdata_file
 service_perfdata_file
 host_perfdata_template
 service_perdata_template
 host_perfdata_file_processing_command
 service_perfdata_file_processing_command
 host_perfdata_command
 service_perfdata_command

You're missing:
host_perfdata_file_processing_interval
service_perfdata_file_processing_interval

You will not need all of them. There are two ways of doing it. You can
either have nagios run a command after each check (The perfdata is
passed on the command line) or have Nagios write to a file (which can be
a pipe as well). Among the parameters you mentioned some of them are for
  a perfdata command while others are for a perfdata file.

If you choose to write to a file, you can optionally have nagios run a
command every *_perfdata_file_processing_interval to process the file
(Nagios will reopen the file once the command terminate, so the best way
to do it is to move the file away, fork and then process it).

Note that running a command on each check will become a bottleneck soon
enough if you're doing a lot of checks, so writing to a file or pipe is
preferred.

If you have good Perl knowledge you should take a look at my OCP_Daemon
which could be a good starting point if you want to write your own
daemon to process the data:

http://www.nagioscommunity.org/wiki/index.php/OCP_Daemon

Thomas
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFG15Ij6dZ+Kt5BchYRAhRHAJ4/GMzfuFtKn6NT+cyKldiZAHU/ZgCffDRQ
XSzI7O3kPlEdS8d5HfhEvhk=
=lWCt
-END PGP SIGNATURE-

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null