check_mssql_health plugin - DBD::Sybase::db DESTROY failed

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
sureshkraj2012
Posts: 65
Joined: Tue Aug 06, 2013 11:06 pm

check_mssql_health plugin - DBD::Sybase::db DESTROY failed

Post by sureshkraj2012 »

Hello,

Could you please help me to resolve this issue?

check_mssql_health plugin gives below message along with the output.
I verified that perl-DBD-Sybase-1.10-1.el6.rf.x86_64 installed on the server. It would be great if you help to solve this problem

~~~~~~~~~~~~~~~~~~
OK - buffer cache hit ratio is 100.00% | buffer_cache_hit_ratio=100.00%;90:;80:
DBD::Sybase::db DESTROY failed: Server message number=3903 severity=16 state=1 line=2 server=Server1 text=The ROLLBACK TRANSACTION request has no corresponding BEGIN TRANSACTION. Server message number=3903 severity=16 state=1 line=2 server=Server1 text=The ROLLBACK TRANSACTION request has no corresponding BEGIN TRANSACTION. during global destruction.
(in cleanup) DBD::Sybase::db DESTROY failed: Server message number=3903 severity=16 state=1 line=2 server=Server1 text=The ROLLBACK TRANSACTION request has no corresponding BEGIN TRANSACTION. Server message number=3903 severity=16 state=1 line=2 server=Server1 text=The ROLLBACK TRANSACTION request has no corresponding BEGIN TRANSACTION. during global destruction.
~~~~~~~~~~~~~~~~~~
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: check_mssql_health plugin - DBD::Sybase::db DESTROY fail

Post by abrist »

What is the full command/query you are running?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
sureshkraj2012
Posts: 65
Joined: Tue Aug 06, 2013 11:06 pm

Re: check_mssql_health plugin - DBD::Sybase::db DESTROY fail

Post by sureshkraj2012 »

Here is the command and output

[root@NServer ~]# /usr/local/nagios/libexec/check_mssql_health --server Server1 --username 'xxx' --password 'xxxx' --mode mem-pool-data-buffer-hit-ratio
OK - buffer cache hit ratio is 100.00% | buffer_cache_hit_ratio=100.00%;90:;80:
DBD::Sybase::db DESTROY failed: Server message number=3903 severity=16 state=1 line=2 server=Server1 text=The ROLLBACK TRANSACTION request has no corresponding BEGIN TRANSACTION. Server message number=3903 severity=16 state=1 line=2 server=Server1 text=The ROLLBACK TRANSACTION request has no corresponding BEGIN TRANSACTION. during global destruction.
(in cleanup) DBD::Sybase::db DESTROY failed: Server message number=3903 severity=16 state=1 line=2 server=Server1 text=The ROLLBACK TRANSACTION request has no corresponding BEGIN TRANSACTION. Server message number=3903 severity=16 state=1 line=2 server=Server1 text=The ROLLBACK TRANSACTION request has no corresponding BEGIN TRANSACTION. during global destruction.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: check_mssql_health plugin - DBD::Sybase::db DESTROY fail

Post by abrist »

There have been other reported issues with the Sybase related plugins. What version are you running:

Code: Select all

./check_mssql_health -h
./check_mssql_health -V
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
sureshkraj2012
Posts: 65
Joined: Tue Aug 06, 2013 11:06 pm

Re: check_mssql_health plugin - DBD::Sybase::db DESTROY fail

Post by sureshkraj2012 »

Am using check_mssql_health-1.5.19.3

http://labs.consol.de/lang/en/nagios/ch ... ql_health/
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: check_mssql_health plugin - DBD::Sybase::db DESTROY fail

Post by abrist »

This looks like a bug. Have you reported it to the consol labs guys?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
P3dr0
Posts: 1
Joined: Tue Aug 26, 2014 2:01 am

Re: check_mssql_health plugin - DBD::Sybase::db DESTROY fail

Post by P3dr0 »

Hi all,

I had the same issue for months and today, Gerhard Lausser gave me an explanation today ( true story ! thanks to him )
Gerhard Lausser ([email protected])

Ajouter aux contacts
11:07

À : [email protected]
From: [email protected]
Hi,

the behavior of either dbd::sybase or freetds changed (this error message appeared suddenly at the beginning of this year and only with certain linux distributions)

You have to add „—commit“

Gerhard
So, i configured my nagios server for monitoring my SQL Server and it seems it works.

I'm expecting the answer on where we have to add "--commit" instruction.

I'm working with Nagios 4.0 on Red Hat Enterprise 6.5.

Hope it help,

Pierre
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: check_mssql_health plugin - DBD::Sybase::db DESTROY fail

Post by abrist »

@OP: Did P3dr0's solution work for you?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
whitest
Posts: 107
Joined: Tue Dec 30, 2014 8:16 am

Re: check_mssql_health plugin - DBD::Sybase::db DESTROY fail

Post by whitest »

abrist wrote:@OP: Did P3dr0's solution work for you?
It solution works for me.
Thanks!
jolson
Attack Rabbit
Posts: 2560
Joined: Thu Feb 12, 2015 12:40 pm

Re: check_mssql_health plugin - DBD::Sybase::db DESTROY fail

Post by jolson »

Thanks for the answer P3dr0! I'll close this thread out - feel free to open additional threads in the future if necessary.
Twits Blog
Show me a man who lives alone and has a perpetually clean kitchen, and 8 times out of 9 I'll show you a man with detestable spiritual qualities.
Locked