Passive check
Posted: Tue Oct 22, 2019 5:16 am
I have nagios core 4.4.3 running on vps with CentOs7
I have 3 server
1. Nagios report.
2. nagios check
3. nagios vps
I want to check some service such as check_user from nagios checks(2)
and send the result passively to nagios report(1).
I have tried NSCA but i am a little bit confused how can I send the external command from 2 --> 1.
This is on 2.
This is on 1
Can anyone help me out of this?
I have 3 server
1. Nagios report.
2. nagios check
3. nagios vps
I want to check some service such as check_user from nagios checks(2)
and send the result passively to nagios report(1).
I have tried NSCA but i am a little bit confused how can I send the external command from 2 --> 1.
This is on 2.
Code: Select all
define service {
use generic-service
service_description Current Users
host_name nagios-vps1.metafour.lan
check_freshness 1
freshness_threshold 600 # Time in second it will recheck and if not get result will alert as Critical
check_command check_nrpe!check_users
}
Code: Select all
define service {
use passive_service
service_description Current Users
host_name nagios-vps1.metafour.lan
check_freshness 1
check_command check_dummy!2! "no input found"
}