Jump to content
Калькуляторы

WEB based Client/Server monitoring мониторинг windows серверов

привет коллеги подскажите пожалуйста опен сорс проект для мониторинга серверов через веб , CPU , RAM и сервисы такие как например http, ftp, sql, rdp ...

так чтобы на сервер установился какой небуд агент и собирал данные и отправлял на главный server где web интерфейс :)

Share this post


Link to post
Share on other sites

и так коллеги установил nagios3 на Debian 6, создал папку objects туда добавил файл windows.cfg и сделал изменения в файле nt.cfg

но в веб интерфейсе нет нечего кроме localhosta подскажите куда смотреть дальше

 

windows.cfg

# Last Modified: 06-13-2007

#

# NOTES: This config file assumes that you are using the sample configuration

# files that get installed with the Nagios quickstart guide.

#

###############################################################################

 

 

 

 

###############################################################################

###############################################################################

#

# HOST DEFINITIONS

#

###############################################################################

###############################################################################

 

# Define a host for the Windows machine we'll be monitoring

# Change the host_name, alias, and address to fit your situation

 

define host{

use windows-server ; Inherit default values from a template

host_name winserver ; The name we're giving to this host

alias My Windows Server ; A longer name associated with the host

address 10.27.41.10 ; IP address of the host

}

 

 

 

 

###############################################################################

###############################################################################

#

# HOST GROUP DEFINITIONS

#

###############################################################################

###############################################################################

 

 

# Define a hostgroup for Windows machines

# All hosts that use the windows-server template will automatically be a member of this group

 

define hostgroup{

hostgroup_name windows-servers ; The name of the hostgroup

alias Windows Servers ; Long name of the group

}

 

 

 

 

###############################################################################

###############################################################################

#

# SERVICE DEFINITIONS

#

###############################################################################

###############################################################################

 

 

# Create a service for monitoring the version of NSCLient++ that is installed

# Change the host_name to match the name of the host you defined above

 

define service{

use generic-service

host_name winserver

service_description NSClient++ Version

check_command check_nt!CLIENTVERSION

}

 

 

 

# Create a service for monitoring the uptime of the server

# Change the host_name to match the name of the host you defined above

 

define service{

use generic-service

host_name winserver

service_description Uptime

check_command check_nt!UPTIME

}

 

 

 

# Create a service for monitoring CPU load

# Change the host_name to match the name of the host you defined above

 

define service{

use generic-service

host_name winserver

service_description CPU Load

check_command check_nt!CPULOAD!-l 5,80,90

}

 

 

 

 

 

nt.cfg

 

# If you are confused about this command definition, cause you was

# reading other suggestions, please have a look into

# /usr/share/doc/nagios-plugins/README.Debian

 

 

 

# 'check_nscp' command definition

 

define command {

command_name check_nscp

command_line /usr/lib/nagios/plugins/check_nt -H '$HOSTADDRESS$' -p 12489 -v '$ARG1$'

}

 

 

 

 

NCS.ini

 

; Undocumented section

 

 

[/modules]

 

; CheckDisk - CheckDisk can check various file and disk related things. The current version has commands to check Size of hard drives and directories.

CheckDisk = 1

 

; Event log Checker. - Check for errors and warnings in the event log. This is only supported through NRPE so if you plan to use only NSClient this wont help you at all.

CheckEventLog = 1

 

; Check External Scripts - A simple wrapper to run external scripts and batch files.

CheckExternalScripts = 1

 

; Helper function - Various helper function to extend other checks. This is also only supported through NRPE.

CheckHelpers = 1

 

; Check NSCP - Checkes the state of the agent

CheckNSCP = 1

 

; CheckSystem - Various system related checks, such as CPU load, process state, service state memory usage and PDH counters.

CheckSystem = 1

 

; CheckWMI - CheckWMI can check various file and disk related things. The current version has commands to check Size of hard drives and directories.

CheckWMI = 1

 

; NRPE server - A simple server that listens for incoming NRPE connection and handles them. NRPE is preferred over NSClient as it is more flexible. You can of cource use both NSClient and NRPE.

NRPEServer = 1

 

; NSCAClient - Passive check support (needs NSCA on nagios server). Avalible crypto are: {0=No Encryption (not safe), 1=XOR, 2=DES, 3=DES-EDE3, 4=CAST-128, 6=XTEA, 8=Blowfish, 9=Twofish, 11=RC2, 14=AES, 15=AES, 16=AES, 20=Serpent, 23=GOST}

NSCAClient = 1

 

; NSClient server - A simple server that listens for incoming NSClient (check_nt) connection and handles them. Although NRPE is the preferred method NSClient is fully supported and can be used for simplicity or for compatibility.

NSClientServer = 1

 

 

; Undocumented section

[/settings/default]

 

; ALLOWED HOSTS - A comaseparated list of allowed hosts. You can use netmasks (/ syntax) or * to create ranges. Parent element can be found under: /settings/default

allowed hosts = 10.27.41.36

 

 

; Section for NRPE (NRPEListener.dll) (check_nrpe) protocol options.

[/settings/NRPE/server]

 

 

; Section for NSCA passive check module.

[/settings/NSCA/client]

 

 

; Target definition for: default

[/settings/NSCA/client/targets/default]

 

 

; Section for NSClient (NSClientServer.dll) (check_nt) protocol options.

[/settings/NSClient/server]

 

 

; Section for system checks and system settings

[/settings/check/system/windows]

 

 

; Confiure which services has to be in which state

[/settings/check/system/windows/service mapping]

 

 

; Configure crash handling properties.

[/settings/crash]

 

 

; Section for the EventLog Checker (CheckEventLog.dll).

[/settings/eventlog]

 

 

; A set of options to configure the real time checks

[/settings/eventlog/real-time]

 

 

; A set of filters to use in real-time mode

[/settings/eventlog/real-time/filters]

 

 

; Section for external scripts configuration options (CheckExternalScripts).

[/settings/external scripts]

 

 

; A list of aliases available. An alias is an internal command that has been "wrapped" (to add arguments). Be careful so you don't create loops (ie check_loop=check_a, check_a=check_loop)

[/settings/external scripts/alias]

 

 

; A list of scripts available to run from the CheckExternalScripts module. Syntax is: <command>=<script> <arguments>

[/settings/external scripts/scripts]

 

 

; A list of wrappped scripts (ie. using the template mechanism)

[/settings/external scripts/wrapped scripts]

 

 

; A list of templates for wrapped scripts

[/settings/external scripts/wrappings]

 

 

; Section for configuring the log handling.

[/settings/log]

 

 

; Configure log file properties.

[/settings/log/file]

 

 

; Section for configuring the shared session.

[/settings/shared session]

 

 

; A list of avalible remote target systems

[/settings/targets]

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this