Go Back   The UNIX and Linux Forums > Special Forums > Infrastructure Monitoring


Infrastructure Monitoring Forum for Nagios, Zabbix and other network monitoring and management tools.

Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 03-28-2012
Registered User
 
Join Date: Mar 2012
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Nagios configuration support on Linux

Hi All,
I have been trying to find a documentation for implementing a check of an Oracle query on Nagios environment.

The requirement is very simple.

This is the Oracle query

select count(*) from IM_BC_JOB;

If count_number >= 10 then RED alert
if count_number < 10 then GREEN alert

Any help or suggestion to customize Nagios step by step will be well appreciated.

Thanks in advance for your kind support.

Regards,

Giovanni
Sponsored Links
    #2  
Old 05-20-2012
Registered User
 
Join Date: May 2012
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
hi

if u need execute a query in oracle u can do it this way


Code:
echo "SELECT COUNT(*) FROM TABLE;"  | sqlplus -s user/pass@IP:port/SID

with that code u can create your own oracle monitoring scritps

Regards,
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Can I install Nagios on Linux ? manalisharmabe Red Hat 6 07-22-2011 11:33 AM
Nagios on Linux sunray Infrastructure Monitoring 1 01-18-2010 07:06 AM
Nagios - NRPE configuration error Renjesh Infrastructure Monitoring 0 03-01-2009 01:52 AM
nagios configuration Renjesh Red Hat 4 02-19-2009 09:48 AM



All times are GMT -4. The time now is 05:57 AM.