check_oracle_instance.pl

Sanderson, Andrew Andrew.Sanderson at ahsys.org
Fri May 20 22:44:12 CEST 2005


I can execute the following check command successfully on the command
line.

 

[root at netmonmp libexec]# ./check_oracle_instance.pl -u system -p manager
-c mtst -t 50/60

mtst: Tablespace usage critical: USERS (78%) SYSTEM (72%) MAX2_ELA_TS
(66%) warning: MAX2_INDEX_E_TS (51%)

[root at netmonmp libexec]#

 

If I try and execute the command using nagios I receive the following
error 

 

oxford <http://netmonmp/nagios/cgi-bin/extinfo.cgi?type=1&host=oxford> 

  <http://netmonmp/nagios/cgi-bin/extinfo.cgi?type=1&host=oxford> 

  <http://www.microsoft.com> 

check instance
<http://netmonmp/nagios/cgi-bin/extinfo.cgi?type=2&host=oxford&service=c
heck+instance> 

 

UNKNOWN

05-20-2005 15:33:43

0d 0h 3m 3s

3/3

(No output!) 

 

[root at netmonmp libexec]# ./check_oracle_instance.pl -V

The netsaint plugins come with ABSOLUTELY NO WARRANTY. You may
redistribute

copies of the plugins under the terms of the GNU General Public License.

For more information about these matters, see the file named COPYING.

Copyright (c) 2002 Sven Dolderer

 

check_oracle_instance.pl 1.1

 

# 'check_tablespace' command definition

define command{

        command_name    check_instance

        command_line    $USER1$/check_oracle_instance.pl -u system -p
manager -c mtst -t 80/90

        }

 

define service{

 host_name  oxford

 service_description check instance

 is_volatile   0

 check_period   24x7

 max_check_attempts  3

 normal_check_interval  5

 retry_check_interval  1

 contact_groups  dba

 notification_interval  120

 notification_period  24x7

 notification_options  w,c,r

 check_command   check_instance

 }

 

Can someone tell me what I am doing wrong please or is this a known
issue with this version of plugin?

 

 

Thanks in advance

 

Andy Sanderson.

The information contained in this email is intended only for the use of the person(s) identified above. This communication may contain work product which is privileged and confidential, and may contain content which is regulated by Federal law. If you are not an intended recipient or the employee or agent responsible to deliver this to the intended recipient, you have received this message in error and any review, distribution or copying of it by you is prohibited. If you have received this message in error, please notify the sender immediately, and delete the message. 
E-mail and communication system messages generated by members of the AHS workforce may not necessarily reflect the views of AHS, its officers, directors or management.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20050520/b792a75b/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.gif
Type: image/gif
Size: 1003 bytes
Desc: image001.gif
URL: <https://www.monitoring-lists.org/archive/users/attachments/20050520/b792a75b/attachment.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.gif
Type: image/gif
Size: 1061 bytes
Desc: image002.gif
URL: <https://www.monitoring-lists.org/archive/users/attachments/20050520/b792a75b/attachment-0001.gif>


More information about the Users mailing list