Hi folks,
I've installed FAN linux distribution and trying to setup the monitoring for few instances. I've follow some topics found on internet to set it up. However, from the nagios webpage I'm getting an error status. Find below the details of the services / command, ...
/etc/nagios/checkcommands.cfg :
define command{
command_name check_sap_cons
command_line $USER1$/check_sap_cons.sh $ARG1$ $ARG2$
}
/etc/nagios/services.cfg :
define service{
host_name parsap01
service_description Response Time
_SERVICE_ID 29
use generic-service
check_command check_sap_instance!100!EC1
max_check_attempts 3
normal_check_interval 180
retry_check_interval 1
check_period 24x7
notification_options w,u,c,r
notifications_enabled 1
contacts nagiosadmin_nagiosadmin
}
Output at OS level :
-sh-3.2$ cd /usr/lib/nagios/plugins
-sh-3.2$ ./check_sap_cons 100 EC1
Dialog ResponseTime = 647 msec
-sh-3.2$ id
uid=100(nagios) gid=101(nagios) groups=101(nagios)
-sh-3.2$
Attached the debug log from Nagios ...
Any hint would be highly appreciated.
Cheers !
nagios-sap-ccms return Unknown status from Nagios Interface
nagios-sap-ccms return Unknown status from Nagios Interface
- Attachments
-
- debug.log
- (3.43 KiB) Downloaded 271 times