Provide View Only Access to Nagios user Rumi, May 17, 2017May 17, 2017 Step 1: Open “cgi.cfg” of nagios etc directory ( ex: /usr/local/nagios/etc/) via editor Step 2: Add user (ex: tappware) in the followings: authorized_for_all_services=nagiosadmin,viewuser authorized_for_all_hosts=nagiosadmin,viewuser authorized_for_read_only=viewuser [Important for view only] Step 3: Restart nagios Continue Reading
Varnish Nagios Plugin Rumi, September 24, 2013 Install To use this plugin you need to have varnishstat installed which is installed by default when you install varnish. Perl is also required for this plugin. If you don’t have Perl installed you can install in by running the command below sudo apt-get install perl or sudo yum install… Continue Reading
Nagios- Memory Check Plugin Rumi, January 6, 2013January 6, 2013 Dave the below code as check_mem.sh using nano and chmod it to +x. (file to be saved inside nagios libexec- such as /usr/local/nagios/libexec/check_mem.sh Continue Reading
Openfiler Install NRPE Rumi, January 1, 2013January 1, 2013 INSTALL Compiler Dependency conary update gcc (a C-Compilter to compile the NRPE) conary update glibc:devel conary update openssl:devel conary update xinetd Add User ——– useradd nagios passwd nagios INSTALL NRPE ———— cd /usr/local/src/ wget http://downloads.sourceforge.net/project/nagios/nrpe-2.x/nrpe-2.13/nrpe-2.13.tar.gz?r=http%3A%2F%2Fexchange.nagios.org%2Fdirectory%2FAddons%2FMonitoring-Agents%2FNRPE–2D-Nagios-Remote-Plugin-Executor%2Fdetails&ts=1342427280&use_mirror=nchc tar xzfv nrpe-2.12.tar.gz cd nrpe-2.12 Continue Reading
Nagios JBoss Plugin Rumi, June 25, 2012 Perl script to check thread and memory usage of a Jboss server. I didn't like the Jboss checks that I've found which require Java or remote-run, so I wrote this. It's a simple check that looks at memory usage and busy threads. I did this with percentage thresholds to make… Continue Reading
Nagios LDAP Monitoring (works for icinga as well) Rumi, June 20, 2012June 20, 2012 on commands.cfg file define command { command_name check_ldaps command_line $USER1$/check_ldap.pl -H 192.168.0.123 -p 389 } on your <server.cfg> file- define service{ use generic-service ; template name, available by default host_name LDAP ; unique name… Continue Reading
Nagios Bookmark Rumi, January 10, 2012 This is a very important page that and for some reasons I just forget the links on nagios- Some very basic links that I should bookmark immediately- http://support.nagios.com/wiki/index.php/Main_Page http://assets.nagios.com/downloads/nagiosxi/docs/Monitoring_Linux_Using_SNMP.pdf Continue Reading
Centreon – Preconfigured nagios Rumi, December 15, 2011December 15, 2011 Centreon is a network, system, applicative supervision and monitoring tool, it is based upon the most effective Open Source monitoring engine : Nagios. Centreon can be used as a Nagios GUI which gather a lots of new features. Learn more: http://www.centreon.com Continue Reading
Icinga Sample Host cfg file to monitor Windows Server Rumi, December 8, 2011December 8, 2011 define host{ use windows-server ; Inherit default values from a template host_name blk-smsgw ; The name we're giving to this host alias Windows Server ; A longer name associated with the host address 10.10.10.1 ; IP address of the host } definehostgroup{ alias Windows Servers ; Long name… Continue Reading
Monitor Windows Service using Nagios (Icinga) Rumi, December 8, 2011 On the Nagios Server edit the file /usr/local/nagios/etc/objects/windows.cfg: # vi /usr/local/nagios/etc/objects/windows.cfg Add the following to create a new service definition to monitor the process state of WinVNC.exe (VNC Server): # Create a service for monitoring the WinVNC.exe process # Change the host_name to match the name of the host you… Continue Reading