I'm struggling with strange behavior of Nagios XI. I'm trying to configure monitoring of DB2 databases using check_db2_health. After configuring a service to check database, web interface returns critical state (redacted):
Code: Select all
CRITICAL - cannot connect to 10.x.x.x. [IBM][CLI Driver] SQL0332N Character conversion from the source code page "819" to the target code page "UNKNOWN" is not supported. SQLSTATE=57017Code: Select all
# su - nagios
$ /usr/local/nagios/libexec/check_db2_health --hostname 10.x.x.x --username USER --password pass --database DBNAME --mode connection-time --warning 2 --critical 5 --port 50004
OK - 0.09 seconds to connect as USER | connection_time=0.0860;2;5
Do you have any ideas what might be wrong?
Thanks.
Environment: Nagios XI 5.7.3, RHEL6.