Jump to content

Steps To Configure WINDOWS Clients (NSclient ) on Nagios Server

From TetraWiki
Revision as of 12:51, 1 January 2013 by Biswajit (talk | contribs) (Created page with "[[Image:]][[Image:]][[Image:]][[Image:]][[Image:]][[Image:]][[Image:]][[Image:]][[Image:]][[Image:]][[Image:]][[Image:]]<center>'''Steps To Configure WINDOWS Clients on Nagios...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

[[Image:]][[Image:]][[Image:]][[Image:]][[Image:]][[Image:]][[Image:]][[Image:]][[Image:]][[Image:]][[Image:]][[Image:]]

Steps To Configure WINDOWS Clients on Nagios Server
  1. Login on to the nagios server by the link http://172.30.1.24/nagiosxi.
  2. You will get the username and password screen.
  3. Enter the username and password and login into the server as shown below.
[[Image:]]


  1. After login click on the button configure on the menu as show below
[[Image:]]


  1. After that click on the link “enter nagios core configuration button” as shown below

[[Image:]]


  1. If it ask for username and password enter the username and the password.
  2. Click on the option “hosts” on the left menu to define the hosts as show below.

[[Image:]]


  1. Click on the button add new and a new window will be opened.
  2. On the common setting button enter the hostname of the server and the ip address of the server and select the template as “xiwizard_windowsserver_host” as shown below.

[[Image:]]


  1. Click on check setting option on the top and enter Max check attempt = 5, Retry interval = 1, check interval = 5 and check period as 24*7 do not change any value as shown below.

[[Image:]]


  1. Click on Alert Setting button and enter contact = nagios admin, notification period as 24*7 and notification interval as 60 as shown below

[[Image:]]


  1. Click on the save option and a windows host is created in the nagios server.
  2. Click on the configure again and click on the enter nagios core configuration option and click on the service as shown below.

[[Image:]]


  1. After that in the new window click on the “config name filter and select all” and click on the add new button at the bottom.
  2. A new window will be opened there in config name enter the hostname, service description enter the name of the service, from hosts select you hostname that you have defined earlier, in check command select check_nt_pass, in args1 enter USEDDISKSPACE to monitor the disk space, args2 enter –l c –w 70 –c 80 ( -l c is the disk name, -w and –c specify the warning and critical option) and insert the template as generic-service no other thing is to be changed as shown below.
[[Image:]]


  1. For other service we have to change only the arg1 and arg2.
  1. For cpu load arg1=CPULOAD agr2= -l 20,30,40 ( value to check the cpu load).
  1. For memory used arg1=MEMUSE arg2= -w 70 –c 80(warning and critical).
  1. For any service arg1=SERVICESTATE arg2= -d SHOWALL –l <service name>.
  1. For any process arg1=PROCSTATE arg2= -d SHOWALL –l < process name>.
  1. Click on check setting option on the top and enter Max check attempt = 5, Retry interval = 1, check interval = 5 and check period as 24*7 do not change any value as shown below.

[[Image:]]


  1. Click on Alert Setting button and enter contact = nagios admin, notification period as 24*7 and notification interval as 60 as shown below

[[Image:]]


  1. Click on Misc setting button and enter variable name=_xiwizard and variable value =nrpe and click on insert as shown below.

[[Image:]]


  1. Click on save button at the bottom and all the configured setting will be saved for the one service
  2. Similarly we can add as many services we want on the nagios server.