Warning: Use of undefined constant is_home - assumed 'is_home' (this will throw an Error in a future version of PHP) in /u/r/rgreenwald/websites/www.russgreenwald.com/docroot/wp-content/plugins/different-posts-per-page/diff-posts-per-page.php on line 151

Warning: Use of undefined constant posts_per_page - assumed 'posts_per_page' (this will throw an Error in a future version of PHP) in /u/r/rgreenwald/websites/www.russgreenwald.com/docroot/wp-content/plugins/different-posts-per-page/diff-posts-per-page.php on line 151

Warning: Use of undefined constant is_category - assumed 'is_category' (this will throw an Error in a future version of PHP) in /u/r/rgreenwald/websites/www.russgreenwald.com/docroot/wp-content/plugins/different-posts-per-page/diff-posts-per-page.php on line 152

Warning: Use of undefined constant posts_per_page - assumed 'posts_per_page' (this will throw an Error in a future version of PHP) in /u/r/rgreenwald/websites/www.russgreenwald.com/docroot/wp-content/plugins/different-posts-per-page/diff-posts-per-page.php on line 152

Warning: Use of undefined constant is_archive - assumed 'is_archive' (this will throw an Error in a future version of PHP) in /u/r/rgreenwald/websites/www.russgreenwald.com/docroot/wp-content/plugins/different-posts-per-page/diff-posts-per-page.php on line 153

Warning: Use of undefined constant posts_per_page - assumed 'posts_per_page' (this will throw an Error in a future version of PHP) in /u/r/rgreenwald/websites/www.russgreenwald.com/docroot/wp-content/plugins/different-posts-per-page/diff-posts-per-page.php on line 153

Warning: Use of undefined constant is_search - assumed 'is_search' (this will throw an Error in a future version of PHP) in /u/r/rgreenwald/websites/www.russgreenwald.com/docroot/wp-content/plugins/different-posts-per-page/diff-posts-per-page.php on line 154

Warning: Use of undefined constant posts_per_page - assumed 'posts_per_page' (this will throw an Error in a future version of PHP) in /u/r/rgreenwald/websites/www.russgreenwald.com/docroot/wp-content/plugins/different-posts-per-page/diff-posts-per-page.php on line 154

Warning: Use of undefined constant is_tag - assumed 'is_tag' (this will throw an Error in a future version of PHP) in /u/r/rgreenwald/websites/www.russgreenwald.com/docroot/wp-content/plugins/different-posts-per-page/diff-posts-per-page.php on line 155

Warning: Use of undefined constant posts_per_page - assumed 'posts_per_page' (this will throw an Error in a future version of PHP) in /u/r/rgreenwald/websites/www.russgreenwald.com/docroot/wp-content/plugins/different-posts-per-page/diff-posts-per-page.php on line 155

Warning: Use of undefined constant is_tag - assumed 'is_tag' (this will throw an Error in a future version of PHP) in /u/r/rgreenwald/websites/www.russgreenwald.com/docroot/wp-content/plugins/different-posts-per-page/diff-posts-per-page.php on line 292
Nagios Monitoring Agent | Russ Greenwald

Nagios Monitoring Agent

  • Installed using Yum Install Nagios
  • Installed to /etc/nagios
    • nagios.cfg defines the commands file and location of the other config files
    • commands.cfg defines the scripts located in /usr/lib or lib64/nagios/plugins/ to be run
      • i.e. $USER1$/check_http -H $HOSTADDRESS$ -S -a nagioscheck:nag1oscheck
    • Within /etc/nagios/etc there are hosts.cfg, services.cfg, servicegroups.cfg, hostgroups.cf, contacts.cfg, and contactgroups.cfg
    • hosts.cfg contains any device that needs to be monitored
    • services.cfg defines the specific monitoring service and warning/critical parameters if any
    • servicgroups.cfg is used to organize in the web view
    • hostgroups.cfg matches the hosts in hosts.cfg to the services in services.cfg
    • In order to login to nagios, the ldap user must be listed in the contacts.cfg and assigned to a contactgroup
  • After making changes in nagios run “/usr/bin/nagios -v /etc/nagios/nagios.cfg” to make sure there are not any mistakes
  • service nagios restart

Leave a Reply