Académique Documents
Professionnel Documents
Culture Documents
Server setup
Unpack and run setup on your Windows server ( WindowsXP will work just fine )
Make an exception in the firewall for TCP port 80 ( if running server with a firewall )
Now you should see your local server when browsing to http://localhost on your NagWin
server and clicking on Hosts
Client setup
server_port=5666
nrpe_user=SvcNrpe
nrpe_group=SvcNrpe
allowed_hosts=ip-address of your NagWin server
command_timeout=60
connection_timeout=300
command[pdm_disk_c]=check_pdm.exe --disk --drive C: -w 90 -c 95
command[pdm_cpuload]=check_pdm.exe --processor -w 50 -c 80
command[pdm_memory_physical]=check_pdm.exe --memory physical -w 95 -c 99
command[pdm_memory_virtual]=check_pdm.exe --memory virtual -w 95 -c 99
command[pdm_memory_pagefile]=check_pdm.exe --memory pagefile -w 95 -c 99
Change "ip-address of your NagWin server" to the IP address of your NagWin server.
Start the nrpe service manually, also set it to start automatically in the future.
Open the firewall for TCP connections on port 5666 ( if running a server with a firewall )
and
__________________________________________________________________
On the Nagwin server, create a file with the same name as the server you wish to
monitor.
define service{
use generic-service
host_name test1
service_description Disk C
check_command check_nrpe!pdm_disk_c
}
define service{
use generic-service
host_name test1
service_description CPU load
check_command check_nrpe!pdm_cpuload
}
define service{
use generic-service
host_name test1
service_description Memory physical
check_command check_nrpe!pdm_memory_physical
}
define service{
use generic-service
host_name test1
service_description Memory virtual
check_command check_nrpe!pdm_memory_virtual
}
define service{
use generic-service
host_name test1
service_description Memory pagefile
check_command check_nrpe!pdm_memory_pagefile
}
Surf to http://localhost on your NagWin server and your testserver should be there.
You will get some red errors when you check under services. But thats for another
Howto guide.
Top
Login or register to post comments
and
---
You need to change the directories to relative references since you've already switched
to the ICW directory which is the "root" of those folders. Use this instead:
Otherwise, thanks SO much for these instructions - I was up and running in 5 minutes.