Home     About Us     RSSRSS

Could not construct return packet in NRPE handler check client side (nsclient.log) logs…

October 16, 2015 by @HKw@! | 2 Comments | Filed in Nagios, Open Source

When i try to run check _nrpe command from Nagios to perform a memory check the physical memory of the Windows Server 2012, i get the following error message:-

NRPE error

From the above error message it show that Nagios Server unable to get the results from the NSClient services. It is because NRPE module is not enable in the NSClient services. By default, NRPE module is not enable.

To enable the NRPE module, below are the steps:

1. navigate to the NSClient++ directory which should be in your C:\Program Files directory.

2. There is a file named NSC.ini in there. This is the main configuration file for NSClient. Open this in your favorite text editor.

3. Now in the [NRPE] section we need to enable the following:

port 5666

allow_arguments=1

 

4. Once done, save the NSC.ini files and restart NSClient++ services

5. Now you try the run the same command again and it should return the expected result.

checkMEM

bash: rsync: command not found

October 16, 2015 by @HKw@! | No Comments | Filed in centos, Fedora, Linux, RedHat

I was trying to rsync files from my Mac to a CentOS VM, and was getting below error:-

rsync command not found

The root cause of getting above error message is the remote machine is not installed rsync command.

To solve this issue, just to install the rsync on the remote machine.

install rsync

That’s it!

Mac OS X – taking screenshot and save it to clipboard

October 14, 2015 by @HKw@! | No Comments | Filed in Mac OS X

To capture a screenshot in Mac OS X, it is very easy to do it. I already shared the tutorial on how to capture screenshot in Mac OS X, you may click HERE to view my previous tutorial.

In Mac OS X, captured screen shot will be automatically saved as a PNG file on your desktop with the filename starting  followed by a number. But, do you know that you can just paste the screenshot directly to program like PowerPoint or word instead of save it on Desktop?

To do it, just refer the following shortcut key:- Read the rest of this entry »