I am very newbie for Nagios and specially for NSCA. I configured nagios core & plugin successfully and works very well on Ubuntu Server.
Now requirement is to configure nsca for tomcat log4j monitor. I configure nsca as wiki & how to docs and works but I have some confusion on this.
Here is my configuration. : -
Templates.cfg - end Section
Code: Select all
define service{
use generic-service
name passive_service
active_checks_enabled 0
passive_checks_enabled 1
flap_detection_enabled 0
register 0
is_volatile 0
check_period 24x7
max_check_attempts 3
normal_check_interval 3
retry_check_interval 1
check_freshness 0
freshness_threshold 180
contact_groups admins
notification_interval 60
notification_period 24x7
notification_options w,u,c,r
stalking_options w,c,u
}
Code: Select all
define service{
use passive_service
service_description TestMessage
host_name Pompei
check_command check_dummy!0
}Code: Select all
[1332332789] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;localhost ;TestMessage ;3;This isdsfhksdfjskf a Test Error [return]
[1332332789] Warning: Passive check result was received for service 'TestMessage ' on host 'localhost ', but the host could not be found!
[1332333079] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;localhost ;TestMessage ;3;This isdsfhksdfjskf a Test Error [return]
[1332333079] Warning: Passive check result was received for service 'TestMessage ' on host 'localhost ', but the host could not be found!Also on my web ui service last checked is shown but Next schedule check shown as a N/A.
kindly please help me on this.
Help would be really appreciated. Further information will be given if required.
Sorry for bad english..
Thanks & Regards,