Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
check_sybase
107331
File | Description |
---|---|
check_sybase-0.7.zip | Plugin 0.7 |
check_sybase-0.8.zip | Plugin 0.8 |
check_sybase-1.0.zip | Plugin 1.0 |
check_sybase-1.1.zip | Plugin 1.1 |
It can be given options to check
* Connectivity only
* Connectivity AND free space
As a security option, usernames and passwords can be read from a file.
* Connectivity only
* Connectivity AND free space
As a security option, usernames and passwords can be read from a file.
Reviews (2)
byaryv, February 9, 2022
Any idea what this means .
DBI connect('server=xyz;database=sybsystemdb;charset=iso_1;timeout=15;loginTimeout=15','esmsvc',...) failed: OpenClient message: LAYER = (0) ORIGIN = (0) SEVERITY = (78) NUMBER = (41)
Server xyz, database
Message String: Unable to connect: Adaptive Server is unavailable or does not exist
OpenClient message: LAYER = (0) ORIGIN = (0) SEVERITY = (78) NUMBER = (41)
Server xyz, database
Message String: Unable to connect: Adaptive Server is unavailable or does not exist
at ./check_sybase.pl line 143.
DBI connect('server=xyz;database=sybsystemdb;charset=iso_1;timeout=15;loginTimeout=15','esmsvc',...) failed: OpenClient message: LAYER = (0) ORIGIN = (0) SEVERITY = (78) NUMBER = (41)
Server xyz, database
Message String: Unable to connect: Adaptive Server is unavailable or does not exist
OpenClient message: LAYER = (0) ORIGIN = (0) SEVERITY = (78) NUMBER = (41)
Server xyz, database
Message String: Unable to connect: Adaptive Server is unavailable or does not exist
at ./check_sybase.pl line 143.
The connect test did not fail when a non-existent database name was used. An error message ""DBD::Sybase - can't change context to database ..." was printed to stderr, but the plugin did not return error status. I suggest adding a call to $dbh->do("use $dbname"), when a database name is used, after the connect to detect the error.