autossh init script
Enjoy this script that will help you to initiate SSH connections automatically.
Enjoy this script that will help you to initiate SSH connections automatically.
ps ax | grep {PROCESSNAME} | grep -v grep
kill -9 `ps ax | grep {PROCESSNAME} | grep -v grep|awk '{print $1}'`
Have you ever wanted to ssh to your Linux box that sits behind NAT? Now you can with reverse SSH tunneling. These steps will show you the concept and how to set up reverse SSH tunneling. The reverse SSH tunneling should work fine with Unix like systems.
Steps to take (some are very specific for me and will not work for everyone):
Add the CES repo.
This installes centreon-broker, qt4-mysql and qt4
# yum install –nogpgcheck centreon-broker
This installs centreon-broker-cbd and centreon-broker-core
# yum install –nogpgcheck centreon-broker-cbd
This installs centreon-broker-cbmod
# yum install –nogpgcheck centreon-broker-cbmod
Query repo rpm packaage and list files:
# yum install yum-utils
# repoquery –list centreon-broker-cbmod
/usr/lib64/nagios/cbmod.so
# wget http://yum.centreon.com/standard/ces-standard.repo
# mv *.repo /etc/yum.repos.d/
# yum list|grep centreon
Let’s build the Centreon Broker!
The old mail server should run the same version of Zimbra you are going to use on the new server. If not then upgrade the old server to that version.
Category:
Weird annoying error messages that take a lot of your time. By the way I’m installing via TFTPÂ and unpacked the ISO.
Error:
Unable to read package metadata. This may be due to a
missing repodata directory. Please ensure that your
install tree has been correctly generated.
These are two scripts I’ve been using for years now to succefully backup Nagios and Centreon. Feel free to use them.