Search found 12 matches

by PhumeleleSJose96
Mon Oct 31, 2022 12:46 am
Forum: Open Source Nagios Projects
Topic: Nagios mail alert configuration
Replies: 0
Views: 8729

Nagios mail alert configuration

Recently I configured Nagios with postfix. Whenever server/service is down it used to send mail alerts for every 1 hour till that system/service is up. How can I configure nagios so that it has to send mail alert only once echat spin echat random for system/service down and again when status changes...
by PhumeleleSJose96
Thu Aug 18, 2022 4:27 am
Forum: Open Source Nagios Projects
Topic: Nagios Plugins
Replies: 2
Views: 1475

Re: Nagios Plugins

Change the command to: command[check_openmanage]=sudo /usr/lib/nagios/plugins/additional/check_openmanage -s -e -b ctrl_driver=0 bat_charge (add sudo) Then, add the nagios-user to the sudoers: nagios ALL=(ALL) NOPASSWD:/usr/lib/nagios/plugins/additional/check_openmanage Or you could just chmod the f...
by PhumeleleSJose96
Wed Aug 17, 2022 7:11 am
Forum: Open Source Nagios Projects
Topic: Apache log monitor inside a container
Replies: 1
Views: 640

Apache log monitor inside a container

I have a Nagios Log server installed on ubuntu 18.04. and I can access my ubuntu system logs as per documentation. Now I want to monitor apache error and access logs, which are in docker containers. Just wanted to know the process for same. I have done following inside docker container. But somehow ...
by PhumeleleSJose96
Mon Jul 25, 2022 4:43 am
Forum: Open Source Nagios Projects
Topic: Need help for monitoring mysql database
Replies: 3
Views: 1522

Re: Need help for monitoring mysql database

I'm not familiar with MySQL, but you will probably end up having to poll the database to do this. You'll probably end up with some timer based code that will go check the database at a particular interval. However, you can do your best to minimize the amount of work done on each check. A bad way to ...
by PhumeleleSJose96
Thu Jul 14, 2022 12:54 am
Forum: Open Source Nagios Projects
Topic: Nagios vs Ganglia
Replies: 0
Views: 831

Nagios vs Ganglia

Maybe a strange and green question, however Is there anything that Nagios or Ganglia can do that the other can't? In terms of monitoring, alerts in general. I'm looking for a general solution for my school's computer club, in my mind its like comparing norton vs advast. both are antivirus however ar...
by PhumeleleSJose96
Mon Jun 13, 2022 6:57 am
Forum: Open Source Nagios Projects
Topic: How can I add plugin to Nagios Core 4.X
Replies: 1
Views: 842

How can I add plugin to Nagios Core 4.X

I would like to ask, how can I add plugin (below) to the nagios core 4.X I always got an error: Error: Service check command 'check_hping' specified in service 'HPING3' for host 'cam_chodba' not defined anywhere I have defined command in /usr/local/nagios/etc/objects/commands.cfg : define command{ c...
by PhumeleleSJose96
Tue May 31, 2022 11:39 pm
Forum: Open Source Nagios Projects
Topic: Invoking Nagios in-built plugins
Replies: 0
Views: 597

Invoking Nagios in-built plugins

Hi My system admin has installed Nagios on Ubuntu 10.04.3 LTS. How should I go about invoking Nagios in-built Plugins for example check_disk from shell. Move to the folder where your plugins are in cd /usr/local/nagios/libexec ./check_disk --options for example: ./check_disk echa tspin echa trandom ...
by PhumeleleSJose96
Wed Apr 27, 2022 12:21 am
Forum: Open Source Nagios Projects
Topic: Nagios change Rule
Replies: 4
Views: 3329

Nagios change Rule

Hi I'm using nagios to monitor some services of my server. I have one question. Is there a way to execute a "curl" when there is a critical or warning message from nagios?. I want to use it with check_http rule, but I don't know how to add the curl command. so the curl with trigger when a ...
by PhumeleleSJose96
Sun Mar 20, 2022 11:25 pm
Forum: Open Source Nagios Projects
Topic: Nagios script to check Nagios
Replies: 1
Views: 845

Re: Nagios script to check Nagios

Monitor everything you have time to configure to be monitored plus anything which is really critical. On all of my Linux systems I monitor: Current Load Current Users Disk Space NTP Time Ping Swap Total Processes backup has run crond running mail queues md raid munin ntpd running postfix running pup...
by PhumeleleSJose96
Sun Mar 20, 2022 11:22 pm
Forum: Open Source Nagios Projects
Topic: Nagios return status unknow
Replies: 1
Views: 728

Nagios return status unknow

Hi I install Nagios on CentOS to monitor some servers, and one of them is a TSM server. I download a plugin written in bash when i execute it in command line it works. /usr/lib64/nagios/plugins/check_tsm db -v6 db - database utilization 42%, OK and the return code of the batch script is 0 ( from the...