Check disk load?

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
psyllex
Posts: 129
Joined: Thu Dec 20, 2012 2:18 pm

Check disk load?

Post 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?
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Check disk load?

Post 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.
psyllex
Posts: 129
Joined: Thu Dec 20, 2012 2:18 pm

Re: Check disk load?

Post by psyllex »

This is on 3 ubuntu servers and one windows IIS server.
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Check disk load?

Post 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?
psyllex
Posts: 129
Joined: Thu Dec 20, 2012 2:18 pm

Re: Check disk load?

Post 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.
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Check disk load?

Post 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.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Check disk load?

Post 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
Be sure to check out our Knowledgebase for helpful articles and solutions!
psyllex
Posts: 129
Joined: Thu Dec 20, 2012 2:18 pm

Re: Check disk load?

Post 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. 
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Check disk load?

Post 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.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Locked