HI,
I am trying to set-up real timevent log monitoring using nagios XI, set-up nsca client in nsclient++ here are the details:
[/modules]
CheckSystem=enabled
CheckDisk=enabled
CheckExternalScripts=enabled
NRPEServer=enabled
Scheduler=enabled
NSCAClient=enabled
[/settings/default]
allowed hosts=172.24.48.16
password = simple10
insecure = true
########configure the scheduler for NSCA######
[/settings/scheduler/schedules/default]
interval=5m
[/settings/scheduler/schedules]
cpu=alias_cpu
mem=alias_mem
disk=alias_disk
service=alias_service
#### configure the NSCA client settings #####
[/settings/NSCA/client]
hostname=qa-wts1.jlr.ktsecureqa.co.uk
[/settings/NSCA/client/targets/default]
address=172.24.48.16
encryption=DES
password=1234
[/settings/NRPE/server]
; COMMAND ARGUMENT PROCESSING - This option determines whether or not the we will allow clients to specify arguments to commands that are executed.
allow arguments = true
; COMMAND ALLOW NASTY META CHARS - This option determines whether or not the we will allow clients to specify nasty (as in |`&><'"\[]{}) characters in arguments.
allow nasty characters = false
; PORT NUMBER - Port to use for NRPE.
port = 5666
# ENABLE SSL ENCRYPTION
insecure = true
# ALLOW ARGUMENTS
allow arguments=True
#COMMAND TIMEOUT
timeout=30
[/settings/external scripts]
allow arguments=True
[/settings/external scripts/scripts]
test_ps1 = cmd /c echo scripts\check_test.ps1; exit($lastexitcode) | powershell.exe -command -
#### that is the config file.
when I changed the checks from active to passive , the entire checks on nagios xi starts to reload. also, could you look at my config file and tell me if its correctly set-up please.
NSCA PASSIVE CHECKS
Re: NSCA PASSIVE CHECKS
Take a look at this article: https://outsideit.net/real-time-eventlog-monitoring/
Also, are you getting any errors?
Also, are you getting any errors?
Former Nagios Employee.
me.
me.
-
tejanagios
- Posts: 24
- Joined: Wed Feb 03, 2016 6:45 am
Re: NSCA PASSIVE CHECKS
I had to go through several checks, from opening ports and checking IP TABLES, to managing unconfigured objects with-in nagios.
it works now, for 3 basic windows check to begin with. Can i define passive checks before hand so that i don't have to use the un-configured objects wizard?
if so, could you please quote or point me to an example please.
it works now, for 3 basic windows check to begin with. Can i define passive checks before hand so that i don't have to use the un-configured objects wizard?
if so, could you please quote or point me to an example please.
Re: NSCA PASSIVE CHECKS
You can always examine the passive check that you already have setup via the un-configured objects wizard, and use these configs as an example.Can i define passive checks before hand so that i don't have to use the un-configured objects wizard?
if so, could you please quote or point me to an example please.
Code: Select all
CCM->Services-><your passive service>->View Text Config (the diskette icon)
BTW, why do you want to set up these check manually? Using the un-configured objects wizard is a lot easier...
Be sure to check out our Knowledgebase for helpful articles and solutions!