Re: [Nagios-users] Oracle DB Server
On 25 October 2010 09:56, Kaushal Shriyan kaushalshri...@gmail.com wrote: Hi, What all ports or URL's needs to be monitored for Oracle DB Server ? Please suggest. Install the Oracle Instant Client on your Nagios server then you can use the excellent check_oracle_health plugin to check Oracle databases. http://labs.consol.de/lang/en/nagios/check_oracle_health/ I used the following to help me install the Oracle Instant Client: http://quimicefa.wordpress.com/2009/07/20/installing-oracle-instant-client-on-linux/ If you are not familiar with Oracle, you may need some help from your Oracle DBA setting up a user to allow the queries and configuring the tnsnames.ora file. hth, Jim -- Nokia and ATT present the 2010 Calling All Innovators-North America contest Create new apps games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev ___ Nagios-users mailing list Nagios-users@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
[Nagios-users] Nagios Web Interface - restrict service checks but show all hosts
Hello, I am relative new to nagios and i wanted to ask, if it is somehow possible to show only the service checks a user is a contact of but also all hosts. (without all service checks beeing viewable) We use Nagios 3.0.1 and find that this is not possible here. Is it a bug? If so, is it fixed in higher versions? Thank You, Robert Gratza -- Nokia and ATT present the 2010 Calling All Innovators-North America contest Create new apps games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev ___ Nagios-users mailing list Nagios-users@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
Re: [Nagios-users] Nagios Web Interface - restrict service checks but show all hosts
On 10/26/2010 10:06 AM, Robert Gratza wrote: Hello, I am relative new to nagios and i wanted to ask, if it is somehow possible to show only the service checks a user is a contact of but also all hosts. (without all service checks beeing viewable) We use Nagios 3.0.1 and find that this is not possible here. Is it a bug? If so, is it fixed in higher versions? It's not possible and it's not a bug. That's exactly how it's supposed to work according to the documentation. When docs and code match, it's by design. -- Andreas Ericsson andreas.erics...@op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 Considering the successes of the wars on alcohol, poverty, drugs and terror, I think we should give some serious thought to declaring war on peace. -- Nokia and ATT present the 2010 Calling All Innovators-North America contest Create new apps games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev ___ Nagios-users mailing list Nagios-users@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
Re: [Nagios-users] External commands documentation
On 25.10.2010 22:25, Mathieu Gagné wrote: Anyone else getting a 404 on the documentation? http://www.nagios.org/developerinfo/externalcommands/ you can use Icinga's too http://docs.icinga.org/latest/en/extcommands2.html -- Nokia and ATT present the 2010 Calling All Innovators-North America contest Create new apps games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev ___ Nagios-users mailing list Nagios-users@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
Re: [Nagios-users] Oracle DB Server
Jim, thanks for your reply to Kaushal's request about Oracle databases. I am trying to do the same thing (configure Nagios to monitor Oracle dB's). I already have the instant client installed on my Nagios server thanks to a previous employee, and my dBa has edited my tnsnames.ora file on the Nagios server; so now I am just trying to verify that the instant client is configured properly. I checked the directions in the second link you sent. In step 4 it tells you to cd to /etc/ld.so.conf and edit/create a file called oracle.conf and insert the following path in the file: /opt/oracle/lib Is this referring to a path on the Oracle server I will be checking, because this path (/opt/oracle/lib) does not exist on my Nagios server. The instant client does get installed on the Nagios server, correct? Thanks, Chris Hudson On Tue, Oct 26, 2010 at 2:06 AM, Jim Avery j...@jimavery.me.uk wrote: On 25 October 2010 09:56, Kaushal Shriyan kaushalshri...@gmail.com wrote: Hi, What all ports or URL's needs to be monitored for Oracle DB Server ? Please suggest. Install the Oracle Instant Client on your Nagios server then you can use the excellent check_oracle_health plugin to check Oracle databases. http://labs.consol.de/lang/en/nagios/check_oracle_health/ I used the following to help me install the Oracle Instant Client: http://quimicefa.wordpress.com/2009/07/20/installing-oracle-instant-client-on-linux/ If you are not familiar with Oracle, you may need some help from your Oracle DBA setting up a user to allow the queries and configuring the tnsnames.ora file. hth, Jim -- Nokia and ATT present the 2010 Calling All Innovators-North America contest Create new apps games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev ___ Nagios-users mailing list Nagios-users@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 -- Nokia and ATT present the 2010 Calling All Innovators-North America contest Create new apps games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev___ Nagios-users mailing list Nagios-users@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
Re: [Nagios-users] Oracle DB Server
On Tue, Oct 26, 2010 at 12:36 PM, Jim Avery j...@jimavery.me.uk wrote: On 25 October 2010 09:56, Kaushal Shriyan kaushalshri...@gmail.com wrote: Hi, What all ports or URL's needs to be monitored for Oracle DB Server ? Please suggest. Install the Oracle Instant Client on your Nagios server then you can use the excellent check_oracle_health plugin to check Oracle databases. http://labs.consol.de/lang/en/nagios/check_oracle_health/ I used the following to help me install the Oracle Instant Client: http://quimicefa.wordpress.com/2009/07/20/installing-oracle-instant-client-on-linux/ If you are not familiar with Oracle, you may need some help from your Oracle DBA setting up a user to allow the queries and configuring the tnsnames.ora file. hth, Jim Thanks Jim, I will implement it and update you with my inputs :) Kaushal -- Nokia and ATT present the 2010 Calling All Innovators-North America contest Create new apps games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev ___ Nagios-users mailing list Nagios-users@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
Re: [Nagios-users] Oracle DB Server
On 26 October 2010 14:44, Chris Hudson chrishud...@gmail.com wrote: Jim, thanks for your reply to Kaushal's request about Oracle databases. I am trying to do the same thing (configure Nagios to monitor Oracle dB's). I already have the instant client installed on my Nagios server thanks to a previous employee, and my dBa has edited my tnsnames.ora file on the Nagios server; so now I am just trying to verify that the instant client is configured properly. I checked the directions in the second link you sent. In step 4 it tells you to cd to /etc/ld.so.conf and edit/create a file called oracle.conf and insert the following path in the file: /opt/oracle/lib Is this referring to a path on the Oracle server I will be checking, because this path (/opt/oracle/lib) does not exist on my Nagios server. The oracle.conf file under /etc/ld.so.conf needs to point to whichever directory contains the library files (*.so). The instant client does get installed on the Nagios server, correct? That's right. You should be able to test the instant client is working by running sqlplus and querying a database. Your DBA can help you with that. It seems to work the same as the full size client. hth, Jim -- Nokia and ATT present the 2010 Calling All Innovators-North America contest Create new apps games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev ___ Nagios-users mailing list Nagios-users@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
Re: [Nagios-users] passive service and notification email
On 26 October 2010 10:09, Andrea Imparato imparato.and...@gmail.com wrote: Hello to all ml, I have a simple request for you. I have a passive service check scheduled on my nagios server and a cron script on my clients (they are all natted) that send me the informations. The question is: which is the parameter for nagios that say after some period send me an email if you see nothing happens?. Sorry but I found the documentation a bit chaotic :\ See: http://nagios.sourceforge.net/docs/3_0/freshness.html So the important bits are ... Make sure it's a passive check: active_checks_enabled 0 passive_checks_enabled 1 Check whether a fresh check has been received recently: check_freshness 1 freshness_threshold 93600 Run this this if not fresh: check_command no-backup-report In this case, instead of a normal check command, you have a command defined which will always give you a non-ok warning: define command{ command_nameno-backup-report command_line/usr/local/nagios/libexec/check_dummy 2 CRITICAL: Results of backup job were not reported! } Note the check_dummy plugin takes two arguments - the exit code you want it to return (0=ok, 1=warning, 2=critical, 3=unknown) and the check result text you want Nagios to display. I normally do something similar, but with pedantically correct text like so: define command{ command_namecheck_dummy-checkfail command_line/usr/local/nagios/libexec/check_dummy 3 UNKNOWN: Nagios didn't receive a check result from the cron job on this server! } Whether you choose to use warning, critical or unknown is up to you. hth, Jim -- Nokia and ATT present the 2010 Calling All Innovators-North America contest Create new apps games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev ___ Nagios-users mailing list Nagios-users@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
Re: [Nagios-users] Nagios Core | VC Monitoring
Agent or not, that is depending on what you want to check and how much information you can draw from virtual center. For example I', checking hosts that are not in my serverpark, but still checking for example if I can reach them on http, how many credit we have left at our text provider and so on. So yeah, you can check some stuff without agent /Leif Den 27-10-2010 07:08, Himanshu Arora skrev: Wondering if it is possible to setup the monitoring for vmware, i have 100s of guest operating systems running on ESX hosts and want to monitor all guest os without installing agent on 'em. and the requirement is to monitor atleast disk space or memory usage on those guests, which plugin i should use. My idea is to install the agent on virtual center coz it has all the information about all the esx hosts plus info about all the guest operating systems that esx is handling. Please let me if thr is any other agent i can install to achieve this. or suggest what else can be done. Thanks, -- Nokia and ATT present the 2010 Calling All Innovators-North America contest Create new apps games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev ___ Nagios-users mailing list Nagios-users@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 -- Nokia and ATT present the 2010 Calling All Innovators-North America contest Create new apps games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev___ Nagios-users mailing list Nagios-users@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