NagiosXI – How to reset nagiosadmin password

I have a NagiosXI server which i already 2 year never login. Recently one of the System Admin leaving the company and i have to take over back the NagiosXI server management. But i already forgot what is nagiosadmin password.

Lucky NagiosXI come with a lot of useful scripts which located at /usr/local/nagiosxi/scripts/

Here i going to show your guys how i reset the nagiosadmin password using NagiosXI script.

To do that, you have to ssh in to NagiosXI server and execute following command to reset nagiosadmin password

/usr/local/nagiosxi/scripts/reset_nagiosadmin_password.php --password=newpassword

If you wish to use any special  characters in your password, you should escape them with “\”. For example, if you want to set your new password to be “p@ssw0rd#”, then you can run:

/usr/local/nagiosxi/scripts/reset_nagiosadmin_password.php --password=p\@ssw0rd\#

After reset, you should able to login to your NagiosXI with your new password.

How to recover lost worksheet protection password in Excel with VBA code

I download excel template from internet. I noticed that excel sheet is password protected and i unable to do any modification. When i try google it, i found one very useful VBA code which will help to cancel or break the lost worksheet protection password.

1. Open your worksheet which has been protected before.

2. Hold down the ALT + F11 keys, and it opens the Microsoft Visual Basic for Applications window.

3. Click Insert > Module

4. Paste the following code in the Module Window.

Continue reading

Apps to Write NTFS Drives on a Mac OS X

I believe most of the Mac user know by default Mac OS only can read from Windows-formatted NTFS drives. To write NTFS disk, you need to have 3rd party software.

When you google it, first page of google sure will show you the two best paid version of NTFS app which is Paragon NTFS for Mac and Tuxera.

If you look for free version of NTFS app, i would recommend an application called Mounty for NTFS which available for free. You can get it here right now.  I have tested this apps, it is easy to use and the performance not bad.

If you have any others good free apps, please do not hesitate to share with me. 🙂

Reference: http://enjoygineering.com/mounty/