I am setting a Nagios server for my office and have been working through things and learning as I go. Most questions I have had I found the answers to via google. Now, I am stumped.
I have a service entry for a check of the local disks on the server running nagios but it’s report no output on the service details. I can run the check_disk plugin via a command prompt with the same varibles as myself, root and the nagios account. The status logs shows a NO OUTPUT error when Nagios runs it.
look at the definition of your check_coimmand in check_commands.cfg.
the syntax that i have for check_local_disk is this…
command_line $USER1$/check_disk -w $ARG1$ -c $ARG2 -p $ARG3$
So in my services.cfg I would need to supply the correct arg’s like this…
check_command check_local_disk!10%!5%!/usr
where /usr is the partition i want to check.
So what does your services.cfg have in it?