Code

check_dbi: Added SERVER_VERSION metric.
authorSebastian Harl <sh@teamix.net>
Mon, 18 Apr 2011 11:33:41 +0000 (13:33 +0200)
committerSebastian Harl <sh@teamix.net>
Mon, 18 Apr 2011 11:33:41 +0000 (13:33 +0200)
commit6c8591359b1c576709e06d890b3f8a8eec7c6ce7
tree4534f6f24d40f2b8691e16f96cabc10ece55fd55
parent7852606128e3c06e6ea7fe8a2ec551baff11edf0
check_dbi: Added SERVER_VERSION metric.

This metric compares the database engine server version with the specified
ranges. The version string [[[[A.]B.]C.]D.]E[.] is returned as E + D*100 +
C*10000 + B*1000000 + A*100000000 (see libdbi's dbi_conn_get_engine_version()
documentation).
plugins/check_dbi.c