CHECK_MSSQL CRITICAL allways as output when use check_sql for MSSQL checking
Jim Avery
jim at jimavery.me.uk
Fri Sep 11 15:37:00 CEST 2009
2009/9/11 Arlen Drina <arlytex at gmail.com>:
> anyway when I run
>
> ./check_mssql -H MSSQL ss -p 1433 -U nagios -P PASSWORD
> CHECK_MSSQL CRITICAL
If I run the check_mssql plugin in exactly the same way as you do, I
get the following:
./check_mssql -H MSSQL ss -p 1433 -U nagios -P PASSWORD
UNKNOWN: Invalid characters in the hostname.
Are you sure you have php5-cli installed (The command line interface
for PHP which allows you to run PHP scripts from the command line)?
Try creating a file "info.php" like so:
#!/usr/bin/php
<?php
phpinfo()
?>
Make it executable, then run it from the command line. If php5-cli is
working okay, you should get lots of info about your PHP install.
hth,
Jim
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list