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 reset FortiGate Firewall to factory default setting without Admin Password

fortinetI believe everyone know that Fortigate Firewall can be reset to Factory Defaults by using Web GUI or CLI interface. In the event of you lost or you do not know the admin password for the fortigate unit, how to reset the Firewall unit? The only thing that you can do is to use maintainer account which have permission to do reset for super admin password or do firewall factory reset.

To do that, you will need:

  • physical access the box
  • Console cable
  • Terminal software such as Putty.exe (Windows) or Terminal (MacOS)
  • Serial number of the FortiGate device

Steps:-

– Connect your laptop or computer to the Firewall via the Console port
– Launch your terminal software
– Reboot or Power Cycle the Firewall
– Wait for the Firewall name and login prompt to appear.
– Enter the Username as maintainer, password as bcpb with Firewall Serial no in UPPERCASE

Continue reading

How to view winmail.dat email attachments

I always get the complain from my user said that they cannot open the e-mail attachment in winmail.dat files. When i see the attachment winmail.dat, i already that email message is in RTF format and send by Outlook mail client. But most of my user is Thunderbird user, for sure they cannot view that email attachment.

To solve the problem, i install a software called Winmail.dat Reader. This software allow you read, view, open, convert and save the files on winmail.dat email attachments.

Just Click HERE to download it. After download, just double click winmail-reader-setup.exe to install it. Continue reading