##READMEv1.0## ************************ Changes that has to be done at the Nagios monitoring server ************************************* Step 1: Untar the standard nagios plugins(nagios-plugins-1.4.15.tar.gz) provided by nagios in your desired directory.(better make it in a separate directory like /opt instead of nagios defualt /usr/local/nagios/libexec) [root@mmkndnagxi opt]# tar -xzvf nagios-plugins-1.4.15.tar.gz Step 2: Run ./configure and compile the nagios-plugins by make cd /opt/nagiosplugins [root@localhost nagiosplugins]# ./configure [root@localhost nagiosplugins]# make Step 3: Enter into the plugins directory inside /opt/nagiosplugins and take the backup of existing check_nt.c cd Plugins [root@localhost plugins]# mv check_nt.c check_nt.c.bkp Step 4: Then you put the check_nt.c provided by us into the /opt/nagios-plugins/plugins directory and compile it again. copy the check_nt.c into the plugin director(/opt/nagios-plugins/plugins) [root@localhost plugins]# make Step 5: The above step will provide you a new check_nt binary with the capabilty of providing Top 5 CPU/MEMORY consuming process details. Step 6: Now configure your existing Memory & CPU Load check using this new check_nt by providing the path of the new check_nt in new commands deifinition for only CPU & Memory like below:- define command { command_name check_xi_service_nsclient command_line /opt/nagios-plugins-1.4.15/plugins/check_nt -H $HOSTADDRESS$ -s "$ARG1$" -p 12489 -v $ARG2$ $ARG3$ $ARG4$ } ********************** Chnages to be done at the end monitored windows servers with existing nsclient++ agent ************************** Step 1: At the end system - stop the nsclient service. Step 2: Replace the exisiting checksystem.dll in c:/programfiles/nsclient/modules (the nsclinet installed directory) with the new checksystem.dll (rename it to CheckSystem.dll from CheckSystem-32.dll/CheckSystem-64.dll) provided by us depending on the 32 bit or 64 bit versions . Step 3: Start the nsclient service again. --------------------------------------------------------------------------- Developed by Vivek_Bernard Implemented, Supported & Documented by Sattanathan Selvanathan & Manish Kumar