New to Nagios - Monitor Windows Server
Posted: Wed Aug 15, 2012 2:17 pm
Hi all,
I'm new to Nagios. I've installed Nagios3 on Ubuntu 12.04 Sever.
I've modified nagios.cfg and windows.cfg to be able to monitor a windows server. Basically that works but I get this
as the result when I try to monitor the available disk space on that sever.
However
returns the data.
In windows.cfg I have this
And in nt.cfg I have this
I've added '$ARG2$' to nt.cfg, prior to that I got "missing -l parameter" in Nagios.
In addition to that I have a couple of "Connection refused " messages in Nagios, maybe something is wrong with the setup. As I wrote: I'm totally new to this.
Any help is appreciated.
Regards,
Michael
I'm new to Nagios. I've installed Nagios3 on Ubuntu 12.04 Sever.
I've modified nagios.cfg and windows.cfg to be able to monitor a windows server. Basically that works but I get this
Code: Select all
C:\ Drive Space UNKNOWN 2012-08-15 15:03:34 0d 0h 31m 22s 4/4 wrong -l argument
However
Code: Select all
/usr/lib/nagios/plugins/check_nt -H 10.0.1.9 -p 12489 -v USEDDISKSPACE -l c -w 80 -c 90In windows.cfg I have this
Code: Select all
define service{
use generic-service
hostgroup_name windows-servers
service_description C:\ Drive Space
check_command check_nt!USEDDISKSPACE!-l c -w 80 -c 90
}
Code: Select all
# 'check_nt' command definition
define command {
command_name check_nt
command_line /usr/lib/nagios/plugins/check_nt -H '$HOSTADDRESS$' -v '$ARG1$' '$ARG2$'
}
In addition to that I have a couple of "Connection refused " messages in Nagios, maybe something is wrong with the setup. As I wrote: I'm totally new to this.
Any help is appreciated.
Regards,
Michael