Page 1 of 1
Check disk load?
Posted: Wed Mar 27, 2013 6:29 pm
by psyllex
Hi I'm trying to check - "DISK LOAD-BANDWIDTH TO DISK IN MYBYTES WRITTEN/READ". I've looked on the Wizard and there is a Load under Ubuntu Server, is that what I'm looking for? Or is there something else maybe under SNMP or whatever?
Re: Check disk load?
Posted: Wed Mar 27, 2013 10:22 pm
by slansing
That load check will be for the entire systems load, what type of OS are you looking to run this check against? For instance.. if it were a windows server you could monitor this using the built in, windows performance counters.
Re: Check disk load?
Posted: Wed Mar 27, 2013 11:36 pm
by psyllex
This is on 3 ubuntu servers and one windows IIS server.
Re: Check disk load?
Posted: Thu Mar 28, 2013 9:11 am
by slansing
It looks like this may suite your needs for the Ubuntu servers:
http://exchange.nagios.org/directory/Pl ... io/details
And for the Windows servers I would recommend using performance counters, do you have any experience integrating them into Nagios Xi?
Re: Check disk load?
Posted: Thu Mar 28, 2013 7:46 pm
by psyllex
alright....is there some good documentation on how to figure how how to run the commands? I keep getting:
Code: Select all
Error: Could not register service (config file '/usr/local/nagios/etc/services/check_diskio.cfg', starting on line 14)
Error processing object config files!
The problem is there isn't really any place (that I've seen) that teaches you about the command line parameters. For example I have no idea how many bad sectors should be critical, how many should constitute a warning. This isn't a problem with Nagios but just in general...it's like all the network admins got together and hid the knowledge in the backyard or something...lol.
Re: Check disk load?
Posted: Fri Mar 29, 2013 9:32 am
by slansing
As far as deciding on what bad sectors you want to warn on that would have be to something you decide on unfortunately. Since it all depends on your environment and your drives.
Re: Check disk load?
Posted: Fri Mar 29, 2013 9:33 am
by lmiltchev
This check must be misconfigured. Run the Write Config Tool, and show the output:
Code: Select all
CCM->Tools->Write Config Files->Write->Verify
Re: Check disk load?
Posted: Mon Apr 01, 2013 11:49 am
by psyllex
lmiltchev wrote:This check must be misconfigured. Run the Write Config Tool, and show the output:
Code: Select all
CCM->Tools->Write Config Files->Write->Verify
Here it is:
Code: Select all
Error: Invalid max_attempts, check_interval, retry_interval, or notification_interval value for service 'Check Disk I/O' on host '10.10.0.100'
Error: Could not register service (config file '/usr/local/nagios/etc/services/check_diskio.cfg', starting on line 14)
Nagios Core 3.4.1
Copyright (c) 2009-2011 Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 05-11-2012
License: GPL
Website: http://www.nagios.org
Reading configuration data...
Read main config file okay...
Processing object config directory '/usr/local/nagios/etc/static'...
Processing object config file '/usr/local/nagios/etc/static/xiobjects.cfg'...
Processing object config file '/usr/local/nagios/etc/static/xitemplates.cfg'...
Processing object config file '/usr/local/nagios/etc/static/xitest.cfg'...
Processing object config file '/usr/local/nagios/etc/contacttemplates.cfg'...
Processing object config file '/usr/local/nagios/etc/contactgroups.cfg'...
Processing object config file '/usr/local/nagios/etc/contacts.cfg'...
Processing object config file '/usr/local/nagios/etc/timeperiods.cfg'...
Processing object config file '/usr/local/nagios/etc/commands.cfg'...
Processing object config file '/usr/local/nagios/etc/hostgroups.cfg'...
Processing object config file '/usr/local/nagios/etc/servicegroups.cfg'...
Processing object config file '/usr/local/nagios/etc/hosttemplates.cfg'...
Processing object config file '/usr/local/nagios/etc/servicetemplates.cfg'...
Processing object config file '/usr/local/nagios/etc/servicedependencies.cfg'...
Processing object config file '/usr/local/nagios/etc/serviceescalations.cfg'...
Processing object config file '/usr/local/nagios/etc/hostdependencies.cfg'...
Processing object config file '/usr/local/nagios/etc/hostescalations.cfg'...
Processing object config file '/usr/local/nagios/etc/hostextinfo.cfg'...
Processing object config file '/usr/local/nagios/etc/serviceextinfo.cfg'...
Processing object config directory '/usr/local/nagios/etc/hosts'...
Processing object config file '/usr/local/nagios/etc/hosts/10.10.0.103.cfg'...
Processing object config file '/usr/local/nagios/etc/hosts/10.10.0.30.cfg'...
Processing object config file '/usr/local/nagios/etc/hosts/10.10.0.125.cfg'...
Processing object config file '/usr/local/nagios/etc/hosts/10.10.0.113.cfg'...
Processing object config file '/usr/local/nagios/etc/hosts/10.10.0.100.cfg'...
Processing object config file '/usr/local/nagios/etc/hosts/10.10.0.112.cfg'...
Processing object config file '/usr/local/nagios/etc/hosts/10.10.0.102.cfg'...
Processing object config file '/usr/local/nagios/etc/hosts/10.10.0.110.cfg'...
Processing object config file '/usr/local/nagios/etc/hosts/10.10.0.99.cfg'...
Processing object config file '/usr/local/nagios/etc/hosts/10.10.0.111.cfg'...
Processing object config directory '/usr/local/nagios/etc/services'...
Processing object config file '/usr/local/nagios/etc/services/10.10.0.103.cfg'...
Processing object config file '/usr/local/nagios/etc/services/10.10.0.125.cfg'...
Processing object config file '/usr/local/nagios/etc/services/Switch.cfg'...
Processing object config file '/usr/local/nagios/etc/services/10.10.0.113.cfg'...
Processing object config file '/usr/local/nagios/etc/services/10.10.0.100.cfg'...
Processing object config file '/usr/local/nagios/etc/services/10.10.0.112.cfg'...
Processing object config file '/usr/local/nagios/etc/services/10.10.0.102.cfg'...
Processing object config file '/usr/local/nagios/etc/services/10.10.0.110.cfg'...
Processing object config file '/usr/local/nagios/etc/services/check_diskio.cfg'...
Processing object config file '/usr/local/nagios/etc/services/10.10.0.111.cfg'...
Error: Invalid max_attempts, check_interval, retry_interval, or notification_interval value for service 'Check Disk I/O' on host '10.10.0.100'
Error: Could not register service (config file '/usr/local/nagios/etc/services/check_diskio.cfg', starting on line 14)
Error processing object config files!
***> One or more problems was encountered while processing the config files...
Check your configuration file(s) to ensure that they contain valid
directives and data defintions. If you are upgrading from a previous
version of Nagios, you should be aware that some variables/definitions
may have been removed or modified in this version. Make sure to read
the HTML documentation regarding the config files, as well as the
'Whats New' section to find out what has changed.
Re: Check disk load?
Posted: Mon Apr 01, 2013 11:53 am
by abrist
psyllex wrote:Error: Invalid max_attempts, check_interval, retry_interval, or notification_interval value for service 'Check Disk I/O' on host '10.10.0.100'
Error: Could not register service (config file '/usr/local/nagios/etc/services/check_diskio.cfg', starting on line 14)
Error processing object config files!
This is your error. You need to set the directives " Invalid max_attempts, check_interval, retry_interval, and notification_interval" in XI for the service check 'Check Disk I/O' on host '10.10.0.100' before you can apply configuration.