NSCA PASSIVE CHECKS

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
tejanagios
Posts: 24
Joined: Wed Feb 03, 2016 6:45 am

NSCA PASSIVE CHECKS

Post by tejanagios »

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.
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: NSCA PASSIVE CHECKS

Post by hsmith »

Take a look at this article: https://outsideit.net/real-time-eventlog-monitoring/

Also, are you getting any errors?
Former Nagios Employee.
me.
tejanagios
Posts: 24
Joined: Wed Feb 03, 2016 6:45 am

Re: NSCA PASSIVE CHECKS

Post by tejanagios »

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.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: NSCA PASSIVE CHECKS

Post by lmiltchev »

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.
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.

Code: Select all

CCM->Services-><your passive service>->View Text Config (the diskette icon)
You can add a new service under the CCM (Services) by clicking on the "Add New" button.

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!
Locked