Unable to solve problem
Curtis E. Hutson
Curtis.Hutson at oncimmune.com
Thu Feb 16 17:34:20 CET 2012
I have been working this problem for a few days now. I have read a number of forums and other posts from others who have had the same problem but can not get this working.
Using Nagios Core 3.3.1 runing on CentOS 6.2
Attempting to monitor a windows server and get counter information on pagefile usage, once solved I will add other commands just need to understand the basics.
Receive this error
Checking services...
Error: Service check command 'check_nt -H onc01 -p 12489 -v COUNTER -l "\\Paging File(_Total)\\%% Usage","Paging file usage is %.2f %%" -w 80 -c 90' specified in service 'Pagefile' for host 'onc01' not defined anywhere!
>From a file called hosts-others.cfg where I define my host
define host {
use generic-host ;Template Used
host_name onc01
alias onc01
address 192.168.XXX.XXX
check_command check-host-alive
max_check_attempts 10
notification_interval 120
notification_period 24x7
contact_groups admins
notification_options d,r
}
define service{
use generic-service
host_name onc01
service_description Pagefile
check_command check_nt -H onc01 -p 12489 -v COUNTER -l "\\Paging File(_Total)\\%% Usage","Paging file usage is %.2f %%" -w 80 -c 90
}
>From command.cfg
define command{
command_name check_pagefile
command_line $USER1$/check_nt -H onc01 -p 12489 -v COUNTER -l "\\Paging File(_Total)\\%% Usage","Paging file usage is %.2f %%" -w 80 -c 90'
}
Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20120216/dc3c3681/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
-------------- next part --------------
_______________________________________________
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