Nagios Check_mk Checks
Autochecks: save in folder /var/lib/check_mk/autochecks/
Manally: define in /etc/check_mk/main.mk
checks = [
( '<IP address>', 'services', 'TomcatPaymark', None ),
( '<IP address>', 'services', 'TomcatThor', None ),
]
oracle_check windows platform
1. put the mk_oracle.bat into plugins folder which in the nagios_check_mk folder in client server;
2. add following context in check_mk.ini
[plugins]
execution mk_oracle.bat = sync
timeout mk_oracle.bat = 60
custom define warning and critical value
Need to be set together
check_parameters = [
( (150, 250), [ "<IP address>" ], [ "ORA THOR Sessions" ] ),
( (500, 650), [ "<IP address>" ], [ "ORA THOREVO Sessions" ] ),
( (100, 120), [ "<IP address>" ], [ "ORA THORWF Sessions" ] ),
( (95, 97), [ "Test" ], ALL_HOSTS, [ "fs_" ] ),
]
Well written . Keep updating
ReplyDeleteDevops Online Course