Adding New Users in Nagios
To add new users for the web interface of Nagios you will need to run the following command: # htpasswd /usr/local/nagios/etc/htpasswd.users username01 Where “username01″ is, type the name of the user you are trying to add. It will later prompt you for a password. You will also need to edit your cgi configuration file. authorized_for_system_commands=nagiosadmin,username01 [...]
Nagios Error: “Return code of 127 is out of bounds – plugin may be missing”
If you are monitoring network devices in Nagios and you get the following error: “Return code of 127 is out of bounds – plugin may be missing” Most likely you are missing some SNMP packages. Make sure you have the following: net-snmp-libs-x.x.x net-snmp-x.x.x net-snmp-utils-x.x.x Run this command to make sure that you don’t have them: For [...]
Make Command Not Found in CentOS
If you are getting this error, you will need to install the gcc automake. Type the following command: yum -y install gcc automake autoconf libtool make That’s it!
In Linux; Run Application under the Terminal at start up.
There are different ways to achieve this, but here is a simple way of doing it. I created a new start up application under the Start Up Applications Preferences, which is located under System>Preferences>Start Up Applications. Here is the command that I placed in the command box: gnome-terminal -e “java -Djava.library.path=/usr/share/pcmonitor/lib/ -jar /usr/share/pcmonitor/bin/pcmonitor.jar -c [...]
Mount Network Drives in Linux (Ubuntu/Mint)
This was a lifesaver! https://wiki.ubuntu.com/MountWindowsSharesPermanently
