Linux - EnterpriseThis forum is for all items relating to using Linux in the Enterprise.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
It would be a lot of help to us if you can indicate what error messages you get when executing the script. Try as nagios user to execute it manually and post messages here please. The more information you provide the better we can help you.
It would be a lot of help to us if you can indicate what error messages you get when executing the script. Try as nagios user to execute it manually and post messages here please. The more information you provide the better we can help you.
Kind regards,
Eric
When I run the plugin through /usr/bin/perl -w I get no error, however no matter what command I put in, all that returns is as if I ran the --help command.
When I run though /usr/local/nagios/bin/p1.pl -w I get
Code:
[root@nagios libexec]# ./check_mssql_health --help
./check_mssql_health: line 4: syntax error near unexpected token `('
./check_mssql_health: line 4: `my %ERRORS=( OK => 0, WARNING => 1, CRITICAL => 2, UNKNOWN => 3 );'
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.