Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Right now I installed the nagios core 3.XX and already configure the NSClient++ on the windows hosts. But, when I go to nagios page, I see the following error
Could you post the command definition and the service definition in a code wrap?
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.
define service {
use generic-service
service_description Disco C
host_name SrvBKP01
notification_options w,u,c,r
check_command check_nt!USEDDISKSPACE! -w 80 -c 90
}
These are definitions for hard disk volume checks, not cpu load. Which do you want to work on first? If disk checks, I need the error you are receiving, if load, I will need the definitions for those commands.
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.
abrist wrote:These are definitions for hard disk volume checks, not cpu load. Which do you want to work on first? If disk checks, I need the error you are receiving, if load, I will need the definitions for those commands.
The error occurs on CPULOAD and USEDDISKSPACE, on nagios they get the unknown status and on status description "usage:"
slansing wrote:You should remove one of those two service definitions, also you will need to remove the extra spaces between the -l parameters and the flag:
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.
define service {
host_name SrvBKP01
notification_options w,u,c,r
service_description HardDrive C
service_description HardDrive
check_command check_nt!CPULOAD!-l 5,80,90
}
I'm slightly confused here - You have "service_description" twice, and you haven't defined a "use" line either. As far as I can see, you are missing necessary lines for defining a service (hence requirement of "use") and secondly service_description is a unique identifier, and you have it appearing twice here with two separate names, as well as them being the same names for another service for the host:
(from your 2nd post)
@otaviorievert: did you follow gshergill's suggestions? Did they resolve your problems?
@gshergill: Spot on.
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.