Nagios Graph Issue
Palle Jensen
palleje at gmail.com
Tue Jul 10 14:38:24 CEST 2007
Jeff,
The ncfg files for linux graphs does not work with Windows (except for
PING), you have to create/modify your windows ncfg file.
Run the command (plugin) in a terminal window , and the value you get after
the | will be the value you need to pickup in the ncfg file.
graph_perf_regex = "expression goes here"
Service name is important too, it has to match the service name in the
defined service.
There is a lot of reading to do on expression, unfortunately I don't have
any ncfg files for the CPU Load, and it is a lot of work to create them.
After a lot of work and also help from here, I got this to work for disk
space:
#The out put looked like this:
| 'c:\ Used Space'=2.44Gb;3.55;3.75;0.00;3.95
#And the ncfg file:
define ngraph {
graph_legend Used Space
graph_perf_regex Used Space=([0-9]*\.[0-9]*)
graph_value DiskUsed
hide yes
rrd_color 00a000
rrd_plottype AREA
service_name Disk-C
}
Hope this helps.
- Palle
-----Original Message-----
From: nagios-users-bounces at lists.sourceforge.net
[mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Jeff
Shumard - DefenseWeb Technologies
Sent: Friday, July 06, 2007 1:15 PM
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] Nagios Graph Issue
I have installed and configured Nagios Graph and so far have graphs
being generated for Load on our Linux hosts with out problems. When I
try and configure the graphs for our Windows Hosts for CPU Usage I keep
getting the following error.
No blocks for 'CPU LOAD' found.
Here is what I have configured for the Nagios Graph which I thought
would work but doesn't.
service_name CPU LOAD
I am not sure why this is not working. If anyone knows what the problem
would be then please respond. Thank you in advance for your help.
Thank you,
Jeff
--------------------------------------------
Jeff Shumard
UNIX Administrator
DefenseWeb Technologies, Inc.
4150 Mission Blvd., Suite 220
San Diego, CA 92109
Office: 858-272-8505 x5897
Mobile: 619-997-5560
Fax: 858-228-3667
Email: jeff.shumard at defenseweb.com
WWW: www.defenseweb.com
----------------------------------
NOTICE: This email message is for the sole use of the intended
recipient(s) and may contain confidential and privileged information.
Any unauthorized review, use, disclosure or distribution is prohibited.
If you are not the intended recipient, please contact the sender by
reply
email and destroy all copies of the original message.
To contact our email administrator directly, send to
postmaster at defenseweb.com.
----------------------------------
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Nagios-users mailing list
Nagios-users at 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
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Nagios-users mailing list
Nagios-users at 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
More information about the Users
mailing list