Search found 20 matches
- Fri Sep 04, 2015 8:42 am
- Forum: Open Source Nagios Projects
- Topic: MariaDB/MySQL health plugin for Nagios Core?
- Replies: 11
- Views: 12109
Re: MariaDB/MySQL health plugin for Nagios Core?
I was testing all this in a local environment (meaning a VM running Centos 6.7). Now I have moved to an online server which share the same meaning CentOS 6.7 and after get all setup I can see this in /usr/local/nagios/var/nagios.log: [1441373776] SERVICE ALERT: qa.pdone.com;MySQL Slow Queries;CRITIC...
- Thu Sep 03, 2015 8:56 pm
- Forum: Open Source Nagios Projects
- Topic: MariaDB/MySQL health plugin for Nagios Core?
- Replies: 11
- Views: 12109
Re: MariaDB/MySQL health plugin for Nagios Core?
Yes, many thanks I've figured out minutes ago and got this working but thanks for your time, this will act as help for others
- Thu Sep 03, 2015 6:57 pm
- Forum: Open Source Nagios Projects
- Topic: MariaDB/MySQL health plugin for Nagios Core?
- Replies: 11
- Views: 12109
Re: MariaDB/MySQL health plugin for Nagios Core?
yum -y install perl-DBD-MySQL I've compiled the plugin and get it working by running some tests as for example the command below: check_mysql_health --hostname localhost --username nagios --password xxxxxxxxx --mode connection-time Now I want to define the service and the command but got some doubt...
- Wed Sep 02, 2015 11:14 pm
- Forum: Open Source Nagios Projects
- Topic: MariaDB/MySQL health plugin for Nagios Core?
- Replies: 11
- Views: 12109
Re: MariaDB/MySQL health plugin for Nagios Core?
I got this almost done but something else is failing. ./check_mysql_health --hostname localhost --username nagios --password 'xxxxx' --mode connection-time CRITICAL - cannot connect to information_schema. install_driver(mysql) failed: Can't locate DBD/mysql.pm in @INC (@INC contains: . /usr/local/li...
- Wed Sep 02, 2015 8:54 pm
- Forum: Open Source Nagios Projects
- Topic: Can't I handle email notifications by Mandrill
- Replies: 1
- Views: 906
Can't I handle email notifications by Mandrill
I'm asking if it's possible to redirect emails notifications in somehow to Mandrill server instead of use default email from Linux, if so can any point me to the right path?
- Wed Sep 02, 2015 8:49 pm
- Forum: Open Source Nagios Projects
- Topic: MariaDB/MySQL health plugin for Nagios Core?
- Replies: 11
- Views: 12109
Re: MariaDB/MySQL health plugin for Nagios Core?
This one is pretty popular: https://exchange.nagios.org/directory/MySQL/check_mysql_health/details I have compiled the plugin by running the following commands: ./configure --with-nagios-group=nagcmd make make install Then I've changed the owner (because I compiled as root): chown nagios:nagios che...
- Wed Sep 02, 2015 8:01 pm
- Forum: Open Source Nagios Projects
- Topic: MariaDB/MySQL health plugin for Nagios Core?
- Replies: 11
- Views: 12109
MariaDB/MySQL health plugin for Nagios Core?
Perhaps this has been asked several times in the past but I can't find the right answer so if any could point me on the right direction for find a good and recommended MySQL/MariaDB health I will be very graceful. As an additional request and perhaps could be fine (if already doesn't exists) a index...
- Wed Sep 02, 2015 7:55 pm
- Forum: Open Source Nagios Projects
- Topic: HTTP service gets CRITICAL, bad configuration?
- Replies: 24
- Views: 7978
Re: HTTP service gets CRITICAL, bad configuration?
Thanks to @Box293 who point me on the right direction, after ran the latest command I can see where the issue was: bad configuration at VirtualHost definition in Apache side. Moving the localhost definition to the top make all services works good and Nagios stop showing me the CRITICAL flag. Also I ...
- Wed Sep 02, 2015 7:46 pm
- Forum: Open Source Nagios Projects
- Topic: HTTP service gets CRITICAL, bad configuration?
- Replies: 24
- Views: 7978
Re: HTTP service gets CRITICAL, bad configuration?
So looking at your configs, Nagios is using the following command: /usr/local/nagios/libexec/check_http -I 127.0.0.1 Can you run this again as it's using the -I (capital i) argument whereas tmcdonald 's command used the -H argument AND a dns name instead of an IP Address. su nagios /usr/local/nagio...
- Wed Sep 02, 2015 7:36 pm
- Forum: Open Source Nagios Projects
- Topic: HTTP service gets CRITICAL, bad configuration?
- Replies: 24
- Views: 7978
Re: HTTP service gets CRITICAL, bad configuration?
In your file localhost.cfg there will be a define service { for HTTP, please post that. There you go: # Define a service to check HTTP on the local machine. # Disable notifications for this service by default, as not all users may have HTTP enabled. define service{ use local-service ; Name of servi...