Page 2 of 2

Re: Hw To Monitor MS SQL Query on Nagios XI

Posted: Tue Sep 12, 2017 12:07 pm
by scottwilkerson
Can you please share the command this service is using found in the Configure -> Core Config Manager -> Services -> Edit this service

A screenshot would be great, but at a minimum I need to know what is in "Check command" & "Command view" fields

Re: Hw To Monitor MS SQL Query on Nagios XI

Posted: Wed Sep 13, 2017 8:43 am
by tsabit
Hi,

I will check yomorrow on nahios xi server with the command.

Re: Hw To Monitor MS SQL Query on Nagios XI

Posted: Wed Sep 13, 2017 8:58 am
by scottwilkerson
Thanks

Re: Hw To Monitor MS SQL Query on Nagios XI

Posted: Wed Sep 13, 2017 11:07 pm
by tsabit
Hi,

If i run the command on Nagiosxi server the result is below

[root@nagiosxi ~]# dos2unix /path/to/plugin/check_plugin
-bash: dos2unix: command not found


please assist me.

i have create the ticket on email [email protected]

Regards,

Tsabit

Re: Hw To Monitor MS SQL Query on Nagios XI

Posted: Thu Sep 14, 2017 9:31 am
by tmcdonald
tsabit wrote: If i run the command on Nagiosxi server the result is below

[root@nagiosxi ~]# dos2unix /path/to/plugin/check_plugin
-bash: dos2unix: command not found
Two problems. First, you have to install the dos2unix utility with this command:

yum install -y dos2unix

Second, you don't literally type "/path/to/plugin/check_plugin", but rather you enter in the full path to the plugin which is most likely /usr/local/nagios/libexec/check_mysql_query.
tsabit wrote: i have create the ticket on email [email protected]
I did not see this come through. If you are not a current customer, you will not be able to open an email ticket with us.

Re: Hw To Monitor MS SQL Query on Nagios XI

Posted: Tue Sep 19, 2017 6:06 am
by tsabit
Hi support,

How about the monitoring query ms sql on the customer.
I really need your help about that.

I have tried many query monitor on nagios but the resukt stikl no output.

Please assist me.

Rrgards,

Tsabit

Re: Hw To Monitor MS SQL Query on Nagios XI

Posted: Wed Sep 20, 2017 4:37 pm
by tmcdonald
Did you perform the steps that were mentioned in the last few posts? Did the dos2unix command work out for you?