Drop Down MenusCSS Drop Down MenuPure CSS Dropdown Menu

Wednesday, January 8, 2014

NSClient - ERROR: Could not get data for 5 perhaps we don't collect data this far back?

Error : NSClient - ERROR: Could not get data for 5 perhaps we don't collect data this far back? 
This is the error I received a notification from my monitoring tool Nagios for a host against CPU Usage, which is quite annoying to deal with. I made some research around it and finally got a solution to fix this issue.

Explanation: This issue is around the performance counter of the server. Somehow Nagios is not able to read those performance counter.

Tuesday, January 7, 2014

Managing Old logs on server using Windows batch script

Most of the time system administrators are dealing with old log files like backing up the old logs manually and removing the original logs. To reduce their headache, here we have a small script, which provides flexibility to manage those old logs in very handy manner. Administrators just need to set the variables in the script as per there requirement and let the script do the magic.

About the script: This script takes the backup of all the log files older then specified number of days and after backup, it automatically deletes the original files and spare the disk space. 
A job can be schedules either on daily or weekly basis to execute this script and manage old log files on the server.

Thursday, January 2, 2014

Configuring James as Windows Service

We have gone through about James server in previous post. In this post, we'll see how we can configure Apache James as windows service.
After putting Apache James at specified location, you can start James using run.bat (location: apache-james3.0\bin\run.bat). Run.bat file will start the James server but will not configure it as windows service.