Installing Nagios Core with NRPE 2.16RC2

Size: px
Start display at page:

Download "Installing Nagios Core with NRPE 2.16RC2"

Transcription

1 P a g e 1 Installing Nagios Core with NRPE 2.16RC2 Purpose This document contains the information and steps to proceed to install and configure the Nagios monitoring system on Ubuntu Server using the Nrpe 2.16RC2 and an example of check_by_ssh command. The commands d below will of course work with any recent release of Nagios Core 4.x. Nrpe 2.16RC2 is still not at its last (or defined stable) version but I tested it and didn t have particular issue. This plugin is a great improvement since it holds an increase of security thanks to the of server-client certificate and an improvement of the encryption system. A few examples (samples) are inside the document for an easy view on the configuration file. About the document The original link of this file is Here About the author I am reachable a few click away from Here Like? If you like this document and if it was ful to you, please consider a Donation Questions? I ll try my best to reply as soon as possible! Here

2 P a g e 2 In details, these are the main points of the document: 1. Prepare Ubuntu Machine 2. Install Nagios 3. Install Plugin 4. Install Nrpe 2.16rc2 5. Secure Nrpe 6. Protect Apache with ssl 7. Configure Nagios 8. Configure hosts 9. Install plugins and nrpe on client 10. Create Nagios certificates 11. Add pnp4nagios graph 90. SAMPLES 91. SAMPLES with graphs 97. Other plugins 98. Using check_by_ssh 99. Useful Commands 1. Prepare Ubuntu Server v Run: apt-get update && apt-get upgrade -y 2. Set up static IP: File: vi /etc/network/interfaces The primary network interface auto eth0 iface eth0 inet static address X netmask network broadcast gateway X dns-servers X 3. Restart single eth card ( ifdown eth0 ifup eth0) or Reboot. 4. Install openssh server: apt-get install openssh-server -y 5. Edit sshd_conf to disable rootlogin: File: vi /etc/ssh/sshd_conf

3 P a g e 3 PermitRootLogin no 6. Restart the ssh service or reboot. 2. Install Nagios core 1. Install Lamp stack and secure mysql_installation. 2. Create User and group for nagios: radd rnagios groupadd groupnagios rmod -a -G groupnagios rnagios passwd rnagios rnagios or groupnagios must be a very, very hard and out of a dictionary attack. Let s say that 2rV$%&c0C4_3cß2Dv might be a nice one. 3. Install Build dependencies - re-update package list: apt-get update 4. Install required packages: apt-get install build-essential libgd2-xpm-dev openssl libssldev xinetd apache2-utils unzip -y 5. Change directory to /home/$user/downloads and enter: curl -L -O tar.gz tar xvf nagios-*.tar.gz cd nagios-*. /configure --with-nagios-r=rnagios --with-nagiosgroup=groupnagios --with-command-group=groupnagios 6. If you must send mails, install both postfix and mailutils (sudo apt-get install postfix && apt-get install mailutils). Add: --with-mail=/usr/sbin/sendmail at the end of the previous code. N.B. While I set up the mails I found out I was able to send them using the command mail s but I was not able to send them from Nagios. There was a problem with the configuration file. I edit then command.cfg changing /bin/mail -s to mail -s and Nagios started sending the mails. 7. Compile Nagios: make all make install

4 P a g e 4 make install-init -- You can stop here if you are upgrading Nagios version -- make install-commandmode make install-config /usr/bin/install -c -m 644 sample-config/httpd.conf /etc/apache2/sites-available/nagios.conf 7. To issue external command to Nagios, add web server r to nagios group: rmod -G groupnagios www-data 3. Install Nagios plugin 1. Change directory to /home/$user/downloads and enter: curl -L -O tar.gz tar xvf nagios-plugins-*.tar.gz cd nagios-plugins-*./configure --with-nagios-r=rnagios --with-nagiosgroup=groupnagios --with-openssl make make install 4. Install NRPE 1. Change directory to /home/$user/downloads and enter: Update: The version d below is not the latest anymore, it was removed from the repository as well. I believe that the following code would work with the latest version of the plugin, the NRPE RC1 but I haven t tested yet. curl -L -O RC2.zip unzip nrpe-*.zip -d nrpe cd nrpe/nrpe* chmod +x configure./configure --with-nrpe-r=rnagios --with-nrpegroup=groupnagios --with-nagios-r=rnagios --with-nagiosgroup=groupnagios --with-ssl=/usr/bin/openssl --with-ssllib=/usr/lib/x86_64-linux-gnu make all

5 P a g e 5 make install make install-xinetd make install-daemon-config 2. Only the xinetd that run on the client must be edited to allow the Nagios server to connect: File: vi /etc/xinetd.d/nrpe only_from = IP_OF_SERVER 3. Restart service: service xinetd restart 5. Secure Nrpe 1. Read "Create Nagios certificates" at 10 section. 2. Set the server's ssl directory and all directories under it to 777, and change all files to 666 if errors like these appear: "Status Information: Error: could not certificate file '/usr/local/nagios/etc/ssl/client_certs/nag_serv.pem'." "CHECK_NRPE: Error - Could not complete SSL handshake with : 1" 6. Protect Apache with SSL 1. Enable auth digest (optional): a2enmod auth_digest htdigest -c /usr/local/nagios/etc/.digest_pw "Nagios Access" nagiosadmin 2. Add auth. File (done in sample) File: vi /etc/apache2/sites-available/nagios.conf add auth file (done in sample) 3. Use apache2 ssl a2enmod ssl 4. Add certificates to conf. File: vi /etc/apache2/sites-available/default-ssl.conf SSLCertificateFile /etc/ssl/server.crt SSLCertificateKeyFile /etc/ssl/private/server.key

6 P a g e 6 5. Creating the cert: The certificate will last 10 years. openssl genrsa -des3 -out server.3des-key 1024 openssl rsa -in server.3des-key -out server.key openssl req -new -key server.key -x509 -out server.crt -days 3650 chmod 600 server.key rm server.3des-key mv server.crt /etc/ssl/ mv server.key /etc/ssl/private/ 6. Add 'SSLRequireSSL' directive to both the 'sbin' and 'share' directories File: vi /etc/apache2/sites-available/nagios.conf (done in sample) 7. Apply SSL a2ensite default-ssl.conf service apache2 restart 8. Enable: a2enmod rewrite a2enmod cgi 9. Create symbolic link: ln -s /etc/apache2/sites-available/nagios.conf /etc/apache2/sites-enabled/ 10. Restart services: service nagios start service apache2 restart 11. Enable Nagios to start on boot: ln -s /etc/init.d/nagios /etc/rcs.d/s99nagios 12. Accessing the Nagios Web Interface: and enter r: nagiosadmin paswd: XXXX 7. Configure Nagios 1. Add cfg folders to Nagios configuration:

7 P a g e 7 File: vi /usr/local/nagios/etc/nagios.cfg cfg_dir=/usr/local/nagios/etc/servers to delete the sharp sign '' Add any other cfg file in the appropriate section( hostconf.cfg; nrpecommands.cfg and so on ) 2. Create this folder: mkdir /usr/local/nagios/etc/servers 3. Configure Nagios contacts: File: vi /usr/local/nagios/etc/objects/contacts.cfg nagios@localhost ; <<***** CHANGE THIS TO YOUR ADDRESS ****** 4. Configure check_nrpe command: File: vi /usr/local/nagios/etc/objects/nrpecommands.cfg define command{ command_ check_nrpe command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c $ARG1$ define command{ command_ check_nrpe_cert command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -C /usr/local/nagios/etc/ssl/client_certs/nag_serv.pem -K /usr/local/nagios/etc/ssl/client_certs/nag_serv.key -A /usr/local/nagios/etc/ssl/ca/ca_cert.pem -c $ARG1$ -t Configure Hosts 1. Check "Samples" section. 9. Install plugins and nrpe on client 1. Follow step 1, "Prepare Machine" 2. Create User and group for nagios: radd rnagios groupadd groupnagios rmod -a -G groupnagios rnagios passwd rnagios

8 P a g e 8 3. Re-update and install build dependencies apt-get update apt-get install build-essential openssl libssl-dev xinetd unzip libsys-statistics-linux-perl -y libsys-statistics-linux-perl is d by check_linux_stats.pl plugin, found on Nagios plugins hub. This plugin is good for checks on cpu, memory, disk and so on. I m using this plugin in the Sample section, if you like I d suggest you to download from Nagios Exchange and chmod +x to make it executable when copied to /usr/local/nagios/libexec. *At the time I m writing, if you want to this plugin you need to correct a bug by yourself. It affects the string the client sends to the server about the CPU status. Correct it like this: File: vi +62 /usr/local/nagios/libexec/check_linux_stats.pl replace if ($o_context){ with elsif ($o_context){ **But, if you plan to graphs to graph the CPU, I d not suggest the CPU part of this script since you may want to see the load on the CPU and not the Idle percentage. check_cpu.py under this point of view is better and comes with a template for pnp4nagios too! Just remember to re the php with the command you send to the client, our case is check_nrpe_cert_check_cpu.php. Yes this document will cover this part too, chapter 11 section Follow steps: 3, 4 and apply client cert from part 5 5. Check "Samples" (90) section on how to edit nrpe.cfg 10. Create Nagios Certificates Certificate Generation Example Il will create certificates that lasts 10 years. 1. Set up the directories mkdir -p -m 750 /usr/local/nagios/etc/ssl chown root.groupnagios /usr/local/nagios/etc/ssl cd /usr/local/nagios/etc/ssl mkdir -m 750 ca chown root.root ca mkdir -m 750 server_certs

9 P a g e 9 chown root.groupnagios server_certs mkdir -m 750 client_certs chown root.groupnagios client_certs 2. Create Certificate Authority cd /usr/local/nagios/etc/ssl/ca openssl req -x509 -newkey rsa:4096 -keyout ca_key.pem -out ca_cert.pem -utf8 -days Create NRPE Server Certificate Requests For each of the hosts that will be running the nrpe daemon, you will need a server certificate cd /usr/local/nagios/etc/ssl/server_certs openssl req -new -newkey rsa:2048 -keyout monitored.key -out monitored.csr -nodes Follow the prompts. The '-nodes' at the end of the lines tells openssl to generate the key without a passphrase. Leave it off, if you want someone to enter a passphrase whenever the machine boots. IMPORTANT: Do not create certificates using the same Common Name (CN). Though you may one certificate only for all of the servers to monitor Now you need to sign the CSRs with your CA key. If you have the default '/etc/openssl.cnf', either change it, or as root, do: cd /usr/local/nagios/etc/ssl mkdir democa mkdir democa/newcerts touch democa/index.txt echo "01" > democa/serial chown -R root.root democa chmod 700 democa chmod 700 democa/newcerts chmod 600 democa/serial chmod 600 democa/index.txt 3.2. Now, sign the CRSs. As root, do the following: cd /usr/local/nagios/etc/ssl openssl ca -days notext -md sha256 \ -keyfile ca/ca_key.pem -cert ca/ca_cert.pem \ -in server_certs/monitored.csr \ -out server_certs/monitored.pem chown root.groupnagios server_certs/monitored.pem chmod 444 server_certs/monitored.pem Now, copy the 'monitored.pem' and 'monitored.key' files to the Machine to monitor, copy the 'ca/ca_cert.pem' file to every machines.

10 P a g e Create NRPE Client Certificate Requests Now you need to do the same thing for the machine that will be running the check_nrpe program. DO NOT conf Client-Server, everytime a connection is established between 2 servers, the MONITORED machine is the server and the SERVER machine is the client. ALWAYS. cd /usr/local/nagios/etc/ssl/client_certs openssl req -new -newkey rsa:2048 -keyout nag_serv.key -out nag_serv.csr -nodes cd /usr/local/nagios/etc/ssl openssl ca -extensions usr_cert -days notext -md sha256 \ -keyfile ca/ca_key.pem -cert ca/ca_cert.pem \ -in client_certs/nag_serv.csr \ -out client_certs/nag_serv.pem chown root.groupnagios client_certs/nag_serv.pem chmod 440 client_certs/nag_serv.pem Now, copy the 'nag_serv.pem', 'nag_serv.key' and 'ca/ca_cert.pem' files to the nag_serv machine, if you did the above on a different computer. Put the location of each computers' three files in the 'nrpe.cfg' file or in the check_nrpe command line. You should now have encryption and, if desired, key validation. 11. Pnp4nagios graph 1. Change directory to /home/$user/downloads and enter: apt-get install rrdtool librrds-perl curl -L -O tar -xvzf pnp4nagios* cd pnp4nagios./configure --with-nagios-r=rnagios --with-nagiosgroup=groupnagios --with-httpd-conf=/etc/apache2/sitesavailable Follow the prompts. This is the output: *** Configuration summary for pnp4nagios *** General Options: Nagios r/group: rnagios groupnagios

11 P a g e 11 Install directory: /usr/local/pnp4nagios HTML Dir: /usr/local/pnp4nagios/share Config Dir: /usr/local/pnp4nagios/etc Location of rrdtool binary: /usr/bin/rrdtool Version RRDs Perl Modules: FOUND (Version ) RRD Files stored in: /usr/local/pnp4nagios/var/perfdata process_perfdata.pl Logfile: /usr/local/pnp4nagios/var/perfdata.log Perfdata files (NPCD) stored in: /usr/local/pnp4nagios/var/spool Web Interface Options: HTML URL: Apache Config File: /etc/apache2/sites-available/pnp4nagios.conf Review the options above for accuracy. If they look okay, type 'make all' to compile. Be sure it s the same r and group defined for Nagios and that the apache config is the right one for your system, on Ubuntu this is correct. 2. Compiling the program Make all Make install Make install-webconf Make install-config Make install-init Or, all of these commands reassumed in: Make fullinstall 3. If you changed the nagiosadmin webr authentication to the digest, do: File: vi /etc/apache2/sites-available/pnp4nagios.conf AuthName "Nagios Access" AuthType Digest AuthUserFile /usr/local/nagios/etc/.digest_pw Replace it in the appropriate section. 4. Configuration The Synchronous mode will not work, I m focusing then to the Bulk mode but there are other configurations available, check them here: Quick-start 4.1. Enable process_performance_data and add new directives File: vi /usr/local/nagios/etc/nagios.cfg Find process_performance_data=0 And change it to process_performance_data=1

12 P a g e 12 [ add the below code at the end of the file, or wherever you want ] service performance data service_perfdata_file=/usr/local/pnp4nagios/var/service-perfdata service_perfdata_file_template=datatype::serviceperfdata\ttimet::$timet$\thostna ME::$HOSTNAME$\tSERVICEDESC::$SERVICEDESC$\tSERVICEPERFDATA::$SERVICEPERFDAT A$\tSERVICECHECKCOMMAND::$SERVICECHECKCOMMAND$\tHOSTSTATE::$HOSTSTATE$\t HOSTSTATETYPE::$HOSTSTATETYPE$\tSERVICESTATE::$SERVICESTATE$\tSERVICESTATETYP E::$SERVICESTATETYPE$ service_perfdata_file_mode=a service_perfdata_file_processing_interval=15 service_perfdata_file_processing_command=process-service-perfdata-file host performance data starting with Nagios 3.0 host_perfdata_file=/usr/local/pnp4nagios/var/host-perfdata host_perfdata_file_template=datatype::hostperfdata\ttimet::$timet$\thostname:: $HOSTNAME$\tHOSTPERFDATA::$HOSTPERFDATA$\tHOSTCHECKCOMMAND::$HOSTCHEC KCOMMAND$\tHOSTSTATE::$HOSTSTATE$\tHOSTSTATETYPE::$HOSTSTATETYPE$ host_perfdata_file_mode=a host_perfdata_file_processing_interval=15 host_perfdata_file_processing_command=process-host-perfdata-file 4.2. Add commands for graphs File: vi /usr/local/nagios/etc/objects/commands.cfg define command{ command_ process-service-perfdata-file command_line /usr/local/pnp4nagios/libexec/process_perfdata.pl -- bulk=/usr/local/pnp4nagios/var/service-perfdata define command{ command_ process-host-perfdata-file command_line /usr/local/pnp4nagios/libexec/process_perfdata.pl -- bulk=/usr/local/pnp4nagios/var/host-perfdata 4.3. Checking the configuration If all tests have passed *successfully* the file pnp4nagios/share/install.php can be deleted or red to install.php.ignore If you receive the message PHP magic_quotes_gpc is deprecated then please locate your php.ini and set the value to Off. 5. Definition for hosts and services with web popups File: vi /usr/local/nagios/etc/objects/hostconf.cfg

13 P a g e 13 Add: define host { host-pnp action_url /pnp4nagios/index.php/graph?host=$hostname$&srv=_host_' class='tips' rel='/pnp4nagios/index.php/popup?host=$hostname$&srv=_host_ File: vi /usr/local/nagios/etc/objects/services.cfg Add: define service { srv-pnp action_url /pnp4nagios/index.php/graph?host=$hostname$&srv=$servicedesc$' class='tips' rel='/pnp4nagios/index.php/popup?host=$hostname$&srv=$servicedesc$ 6. Pnp4nagios must understand what is the command d for the checks. File: vi /usr/local/pnp4nagios/etc/check_command/check_nrpe_cert.cfg Adapt the Template if check_command should not be the PNP Template Command: check_nrpe_cert!check_mem 0 1 User ARG1 CUSTOM_TEMPLATE = 0,1 7. Pnp4nagios s templates to show graphs based on the command executed. Using the nrpe, the command that the server will send to the client will always be check_nrpe_cert_check_mem for example. In the pnp4nagios/share/templates folder then, we need to create a php file called check_nrpe_cert_check_mem.php and this template will match this command. The more commands you want to show as a graph, the more templates with the command s you need to create. One does not simply creates templates, but when he wants to it, he will search pnp4nagios templates on Google The pnp4nagios/share/templates.special folder instead will contain the templates d to show the graph of the same service on several different servers. This is an example:

14 P a g e 14 <?php $this->macro['title'] = "Ping"; $this->macro['comment'] = "For All Servers"; $services = $this->tplgetservices("","ping"); The Datasource Name for Graph 0 $ds_[0] = "Ping"; $opt[0] = "--title \"Ping\""; $def[0] = ""; Iterate through the list of hosts $i=0; foreach($services as $key=>$val){ if($i == 1) {$i = 2; $data = $this->tplgetdata($val['host'],$val['service']); throw new Kohana_exception(print_r($a,TRUE)); $host = rrd::cut($data['macro']['hostname']); $def[0].= rrd::def("var$key", $data['ds'][0]['rrdfile'], $data['ds'][0]['ds'] ); $def[0].= rrd::line1("var$key", rrd::color($i), $host); $def[0].= rrd::gprint("var$key", array("max", "AVERAGE")); $i++;?> The of the service, you can change this to match your service. This is where you d want to write the of the host, "" for all the hosts. Like the service, but this is the one configured in Nagios. Be careful, if what you write here does not match any service, it will simply not work. This is something I had to do. In order to assign a different colour to all the hosts, I had to replace the $key with a different variable, like $i. This, beca the $key will at one point set itself as 1 and that is the color of the Yellow. The yellow is hard to see on a white background, to avoid this I wrote that code, in case $i = 1 -> $i = 2. You do not need to re this template like the command, ping-all.php is fine. Additionally, you may want to open the graphs on the main window of Nagios. File: vi +325 /usr/local/nagios/etc/cgi.cfg and replace action_url_target=_blank with action_url_target=main 8. Jump to section 91. SAMPLES with graphs to see how to edit the current samples. 90. Samples

15 P a g e Nrpe.cfg (Nagios server) log_facility=daemon pid_file=/var/run/nrpe.pid dont_blame_nrpe=0 allow_bash_command_substitution=0 debug=0 command_timeout=60 connection_timeout=300 ssl_version=tlsv1.2+ ssl adh=1 ssl_cipher_list=all:!md5:@strength ssl_client_certs=2 ssl_logging=0xff 2. Nrpe.cfg (Any monitored machine). I m using external plugins. log_facility=daemon pid_file=/var/run/nrpe.pid dont_blame_nrpe=0 allow_bash_command_substitution=0 debug=0 command_timeout=60 connection_timeout=300 ssl_version=tlsv1.2+ ssl adh=1 ssl_cipher_list=all:!md5:@strength ssl_cacert_file=/usr/local/nagios/etc/ssl/ca_cert.pem ssl_cert_file=/usr/local/nagios/etc/ssl/db_server.pem ssl_privatekey_file=/usr/local/nagios/etc/ssl/db_server.key ssl_client_certs=2 ssl_logging=0xff command[check_mem]=/usr/local/nagios/libexec/check_linux_stats.pl -M -w 100,25 -c 100,50 command[check_log_fail2ban]=/usr/local/nagios/libexec/check_log3.pl -l /var/log/fail2ban.log - p 'Ban' -w 1 -c 5 fail2ban, this tool is wonderful when you need to check who wants to log in to your server and ban those who keeps trying bruteforcing r or password. The ban lasts a few minutes but it can be changed and will send you a mail (if configured) to tell you the last banned IP and service it tried to access (I set it up for ssh). But, we do not want that fail2ban sends the mails, rather, I want that Nagios do it. You will find in my samples the configuration of the service and host to allow fail2ban to check the auth.log log file every few minutes and, if something is found, fail2ban will ban the ip while Nagios will send me an . I think that this is a smart system. 3. hostconf.cfg (Nagios server)

16 P a g e 16 HOST GROUP DEFINITION define hostgroup{ hostgroup_ alias define hostgroup{ hostgroup_ alias define hostgroup{ hostgroup_ alias Test Hostgroup Test Servers Prod Hostgroup Prod Servers Nagios Hostgroup Nagios Server HOST DEFINITION define host{ linux-host notifications_enabled 1 event_handler_enabled 1 flap_detection_enabled 1 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 notification_period 24x7 check_period 24x7 retry_interval 1 max_check_attempts 10 check_command check-host-alive contact_groups avengers define host{ hostgroups nagios-server linux-host Nagios Hostgroup

17 P a g e 17 check_interval 5 notification_interval 120 notification_options d,u,r define host{ linux-test linux-host hostgroups Test Hostgroup check_interval 2 notification_period workhours notification_interval 30 notification_options d,u,r define host{ linux-prod linux-host hostgroups Prod Hostgroup check_interval 5 notification_interval 120 notification_options d,u,r 4. nrpecommands.cfg NRPE ONLY define command{ command_ check_nrpe command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c $ARG1$ define command{ command_ check_nrpe_cert command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -C /usr/local/nagios/etc/ssl/client_certs/nag_serv.pem -K /usr/local/nagios/etc/ssl/client_certs/nag_serv.key -A /usr/local/nagios/etc/ssl/ca/ca_cert.pem -c $ARG1$ -t 15

18 P a g e services.cfg SERVICES DEFINITION define service{ generic-service active_checks_enabled 1 passive_checks_enabled 0 parallelize_check 1 obsess_over_service 0 check_freshness 0 notifications_enabled 1 event_handler_enabled 1 flap_detection_enabled 1 process_perf_data 0 retain_status_information 1 retain_nonstatus_information 1 is_volatile 0 check_period 24x7 max_check_attempts 3 check_interval 5 retry_interval 2 contact_groups avengers notification_options w,u,c,r notification_interval 60 notification_period 24x7 define service{ fail2banlog-service generic-service flap_detection_enabled 0 retain_status_information 0 retain_nonstatus_information 0 is_volatile 1 max_check_attempts 1 check_interval 4 retry_interval 2 notification_interval 0 define service{ local-service

19 P a g e 19 generic-service max_check_attempts 4 check_interval 4 retry_interval 1 6. ubuntu-test3.cfg (Nagios server - inside /usr/local/nagios/etc/servers/ directory). I show how to define the services using both the certificates and not. I d suggest to only choose one of them, check_nrpe_cert for example. HOST define host{ linux-test host_ ubuntu-test3 alias Ubuntu test 3 address SERVICES nrpe without certificates define service{ generic-service host_ ubuntu-test3 service_description Check memory check_command check_nrpe!check_mem nrpe with certificates ( this one in your configuration) define service{ generic-service host_ ubuntu-test3 service_description Check memory with certs check_command check_nrpe_cert!check_mem define service{ fail2banlog-service host_ ubuntu-test3

20 P a g e 20 service_description check_command Fail2ban check_nrpe_cert!check_log_fail2ban 7. contacts.cfg CONTACTS DEFINITION define contact{ generic-contact service_notification_period 24x7 host_notification_period 24x7 service_notification_options w,u,c,r,f,s host_notification_options d,u,r,f,s service_notification_commands notify-service-by- host_notification_commands notify-host-by- CONTACTS define contact{ contact_ alias define contact{ contact_ alias Tony generic-contact Ironman tony.stark@avengers.org Captain generic-contact Captain America captain.america@avengers.org CONTACT GROUPS

21 P a g e 21 define contactgroup{ contactgroup_ alias members avengers Nagios Administrators Tony, Captain 8. Final configuration for apache2 with digest authentication and ssl certificate. SAMPLE CONFIG SNIPPETS FOR APACHE WEB SERVER This file contains examples of entries that need to be incorporated into your Apache web server configuration file. Customize the paths, etc. as needed to fit your system. ScriptAlias /nagios/cgi-bin "/usr/local/nagios/sbin" <Directory "/usr/local/nagios/sbin"> SSLRequireSSL Options ExecCGI AllowOverride None <IfVersion >= 2.3> <RequireAll> Require all granted Require host AuthName "Nagios Access" AuthType Digest AuthUserFile /usr/local/nagios/etc/.digest_pw Require valid-r </RequireAll> </IfVersion> <IfVersion < 2.3> Order allow,deny Allow from all Order deny,allow Deny from all Allow from AuthName "Nagios Access" AuthType Digest AuthUserFile /usr/local/nagios/etc/.digest_pw Require valid-r </IfVersion> </Directory> Alias /nagios "/usr/local/nagios/share" <Directory "/usr/local/nagios/share"> SSLRequireSSL Options None AllowOverride None <IfVersion >= 2.3>

22 P a g e 22 <RequireAll> Require all granted Require host AuthName "Nagios Access" AuthType Digest AuthUserFile /usr/local/nagios/etc/.digest_pw Require valid-r </RequireAll> </IfVersion> <IfVersion < 2.3> Order allow,deny Allow from all Order deny,allow Deny from all Allow from AuthName "Nagios Access" AuthType Digest AuthUserFile /usr/local/nagios/etc/.digest_pw Require valid-r </IfVersion> </Directory> You may want to restrict the access here to your lan only or single IP. Just uncomment the Allow from and add the network or single host you want. UPDATE: Remember to open it on the firewall, the best is to open it to your office IP only, just to mitigate a little potential attacks. This does not prevent though that you webserver Is protected, which anyway setting up a protected apache server is out of this guide. 91. Samples with Graphs 1. Services.cfg SERVICES DEFINITION define service{ generic-service active_checks_enabled 1 passive_checks_enabled 0 parallelize_check 1 obsess_over_service 0 check_freshness 0 notifications_enabled 1 event_handler_enabled 1

23 P a g e 23 flap_detection_enabled 1 process_perf_data 0 retain_status_information 1 retain_nonstatus_information 1 is_volatile 0 check_period 24x7 max_check_attempts 3 check_interval 5 retry_interval 2 contact_groups avengers notification_options w,u,c,r notification_interval 60 notification_period 24x7 define service{ service-with-graph generic-service,srv-pnp process_perf_data 1 define service{ fail2banlog-service generic-service flap_detection_enabled 0 retain_status_information 0 retain_nonstatus_information 0 is_volatile 1 max_check_attempts 1 check_interval 4 retry_interval 2 notification_interval 0 define service{ local-service generic-service max_check_attempts 4 check_interval 4 retry_interval 1 define service{ local-service-with-graph

24 P a g e 24 generic-service,srv-pnp process_perf_data 1 max_check_attempts 4 check_interval 4 retry_interval 1 define service{ srv-pnp action_url /pnp4nagios/index.php/graph?host=$hostname$&srv=$servicedesc$' class='tips' rel='/pnp4nagios/index.php/popup?host=$hostname$&srv=$servicedesc$ 2. hostconf.cfg HOST GROUP DEFINITION define hostgroup{ hostgroup_ alias define hostgroup{ hostgroup_ alias define hostgroup{ hostgroup_ alias Test Hostgroup Test Servers Prod Hostgroup Prod Servers Nagios Hostgroup Nagios Server HOST DEFINITION define host{ host-pnp action_url /pnp4nagios/index.php/graph?host=$hostname$&srv=_host_' class='tips' rel='/pnp4nagios/index.php/popup?host=$hostname$&srv=_host_

25 P a g e 25 define host{ linux-host notifications_enabled 1 event_handler_enabled 1 flap_detection_enabled 1 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 notification_period 24x7 check_period 24x7 retry_interval 1 max_check_attempts 10 check_command check-host-alive contact_groups avengers define host{ nagios-server linux-host,host-pnp hostgroups Nagios Hostgroup check_interval 5 notification_interval 120 notification_options d,u,r define host{ linux-test linux-host,host-pnp hostgroups Test Hostgroup check_interval 2 notification_period workhours notification_interval 30 notification_options d,u,r define host{ linux-prod linux-host,host-pnp hostgroups Prod Hostgroup check_interval 5 notification_interval 120 notification_options d,u,r

26 P a g e Ubuntu-test3.cfg HOST define host{ linux-test host_ ubuntu-test3 alias Ubuntu test3 address SERVICES define service{ host_ service_description check_command define service{ host_ service_description check_command service-with-graph ubuntu-test3 PING check_nrpe_cert!check_host_alive fail2banlog-service ubuntu-test3 Fail2ban check_nrpe_cert!check_log_fail2ban 97. Other Plugins You may want to check not only the system specs but maybe like me you need something specific for your system. 1. Fail2ban, I wrote earlier about this tool and a good plugin that can be d to check the log files is check_log3.pl

27 P a g e You may want to check the services too, probably your database is down and you don t know. I found check_service.sh and the author was very nice to me to talk about his plugin. He also explained me how to edit it to add the Postgre database service check. Unfortunately this plugin does not have the performance data but it was easy to add this feature too. The modified code is at the end of this chapter. 3. Check_linux_stats.pl, I really like this plugin beca I can check everything I need using this one only. Still, I had to another plugin for the CPU beca check_linux_stats.pl will report the Idle percentage and not the d percentage. I am not a programmer, maybe it is possible to change it but I found the next plugin better for the CPU. *If you want to the CPU report of this plugin remember to fix the bug explained in chapter 9 section Check_cpu.py, nice! It does a good job and comes with a pnp4nagios template, I like it! File: $ more /usr/local/nagios/libexec/check_service.sh echo "$STATUS_MSG offline=0" echo "$STATUS_MSG online=1" Nagios recognizes as performance data everything that is after the in a output script, in this case if the status is critical (service not available) perfdata is 0, if available is 1. The graph will have only 0/1 values. Skipping to where the modification applies. [ ] case $STATUS_MSG in *stop*) echo "$STATUS_MSG offline=0" exit $CRITICAL *STOPPED*) echo "$STATUS_MSG offline=0" exit $CRITICAL *not*running*) echo "$STATUS_MSG offline=0" exit $CRITICAL *running*) echo "$STATUS_MSG online=1" exit $OK *RUNNING*) echo "$STATUS_MSG online=1" exit $OK *SUCCESS*) echo "$STATUS_MSG online=1" exit $OK

28 P a g e 28 *[ee]rr*) echo "Error in command: $STATUS_MSG offline=0" exit $CRITICAL *[ee]nable*) echo "$STATUS_MSG online=1" exit $OK *[dd]isable*) echo "$STATUS_MSG offline=0" exit $CRITICAL *[cc]annot*) echo "$STATUS_MSG offline=0" exit $CRITICAL *inactive*) echo "$STATUS_MSG offline=0" exit $CRITICAL *dead*) echo "$STATUS_MSG offline=0" exit $CRITICAL *[aa]ctive*) echo "$STATUS_MSG online=1" exit $OK *[oo]nline*) echo "$STATUS_MSG online=1" exit $OK *[dd]own*) echo "$STATUS_MSG offline=0" exit $CRITICAL This is for postgre DB *Subsystem*not*on*file) echo "$STATUS_MSG offline=0" exit $CRITICAL [1-9][1-9]*) echo "$SERVICE running: $STATUS_MSG online=1" exit $OK "") echo "$SERVICE is not running: no output from service command offline=0"

29 P a g e 29 exit $CRITICAL *) echo "Unknown status: $STATUS_MSG" echo "Is there a typo in the command or service configuration?: $STATUS_MSG offline=0" exit $UNKNOWN esac 98. Configure SSH shared key authentication This is an alternate method to check the clients through ssh. Useful when the only way to access to the monitored server is by ssh only. The host configuration and commands are not inserted here. 1. On the Nagios server su - nagiosuser $ ssh-keygen -t rsa Hit SEND until done to accept default settings, when asked for password keep pressing SEND. 2. Should appear something like: ssh-keygen -t rsa Generating public/private rsa key pair. Enter file in which to save the key (/home/demo/.ssh/id_rsa): Enter passphrase (empty for no passphrase): Enter same passphrase again: Your identification has been saved in /home/demo/.ssh/id_rsa. Your public key has been saved in /home/demo/.ssh/id_rsa.pub. The key fingerprint is: 4a:dd:0a:c6:35:4e:3f:ed:27:38:8c:74:44:4d:93:67 demo@a The key's randomart image is: +--[ RSA 2048]----+.oo.. o.e +. o. = =. = S =. o + = +. o + o.. o IMPORTANT! Now a nagios r for the remote server must be created along nagios-plugins installed.

30 P a g e The commands below will copy the created keys inside a file called authorized_keys, in the remote server. $ ssh-copy-id nagios@ OR $ cat ~/.ssh/id_rsa.pub ssh nagios@ "mkdir -p ~/.ssh && cat >> ~/.ssh/authorized_keys" Type yes when prompted and eventually the r's password too. 99. Useful commands 1. Check Validity script: /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg 2. Start Nagios Service: /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg Or: service nagios start 3. Reload: /etc/rc.d/init.d/nagios reload Or: service Nagios reload 4. Stop: /etc/rc.d/init.d/nagios stop Or: service nagios stop 5. Restart Xinetd (Probably you never need to run this command): service xinetd restart

31 P a g e 31 A Big Thanks to Website support.nagios.com (for the great help by its members) digitalocean.com (for the Nagios installation quick-start tutorial) Users Box293 hsmith jfrickson (for the great work on nrpe 2.16rc2 and certificates guide) rkennedy Myself (I worked almost 4 months straight on this project)

WMLUG July Nagios, PNP4Nagios, and NConf by Patrick TenHoopen

WMLUG July Nagios, PNP4Nagios, and NConf by Patrick TenHoopen WMLUG July 2015 Nagios, PNP4Nagios, and NConf by Patrick TenHoopen What is Nagios? Nagios is an IT infrastructure monitoring and alerting tool. The free Nagios DIY Core provides the central monitoring

More information

Install some base packages. I recommend following this guide as root on a new VPS or using sudo su, it will make running setup just a touch easier.

Install some base packages. I recommend following this guide as root on a new VPS or using sudo su, it will make running setup just a touch easier. Nagios 4 on Ubuntu 16 Install some base packages. I recommend following this guide as root on a new VPS or using sudo su, it will make running setup just a touch easier. apt-get install php-gd build-essential

More information

Nagios User Guide. You can use apt-get to install these packages by running the following commands:

Nagios User Guide. You can use apt-get to install these packages by running the following commands: Nagios User Guide This guide will cover the installation process of Nagios on Ubuntu Operating System and will also serve as a user guide on how to configure Nagios. If any command does not work there

More information

NRPE DOCUMENTATIOND. Copyright (c) Ethan Galstad. Last Updated: 17 November Contents

NRPE DOCUMENTATIOND. Copyright (c) Ethan Galstad. Last Updated: 17 November Contents NRPE OCUMENTATION Copyright (c) 1999-2017 Ethan Galstad Last Updated: 17 November 2017 Contents 1. Introduction... 2 a) Purpose... 2 b) esign Overview... 2 2. Example Uses... 3 a) irect Checks... 3 b)

More information

Red Hat Ceph Storage 3

Red Hat Ceph Storage 3 Red Hat Ceph Storage 3 Monitoring Ceph for Ubuntu with Nagios Monitoring Ceph for Ubuntu with Nagios Core. Last Updated: 2018-09-07 Red Hat Ceph Storage 3 Monitoring Ceph for Ubuntu with Nagios Monitoring

More information

Red Hat Ceph Storage 3

Red Hat Ceph Storage 3 Red Hat Ceph Storage 3 Monitoring Ceph for Red Hat Enterprise Linux with Nagios Monitoring Ceph for Red Hat Enterprise Linux with Nagios Core. Last Updated: 2018-06-21 Red Hat Ceph Storage 3 Monitoring

More information

Network Management with Nagios

Network Management with Nagios Network Management with Nagios, wire.less.dk edit: October 2008 @ Sengerema Telecentre, Tanzania http://creativecommons.org/licenses/by-nc-sa/3.0/ 1 Agenda What is it? Why use it? Installing Configuring

More information

Installation Manual InfraManage.NET Installation Instructions for Ubuntu

Installation Manual InfraManage.NET Installation Instructions for Ubuntu Installation Manual InfraManage.NET Installation Instructions for Ubuntu Copyright 1996 2017 Timothy Ste. Marie Version 7.5.72SQL InfraManage.NET Installing InfraManage.NET Page 1 of 78 Table of Contents

More information

Purpose. Target Audience. Summary. Automation Overview. Nagios XI. Automated Host Management

Purpose. Target Audience. Summary. Automation Overview. Nagios XI. Automated Host Management Purpose This document describes how to automate adding and removing hosts and services in Nagios XI from the command line. Target Audience This document is intended for use by Administrators and Developers

More information

NCAP Nagios Collector and Plugin

NCAP Nagios Collector and Plugin NCAP Nagios Collector and Plugin version 0.4 Giray Devlet 2004 02 29 NCAP Nagios Collector and Proxy Table of Contents Introduction...2 Design...3 Internals...4 Installation...5 Installation

More information

LAB :: Secure HTTP traffic using Secure Sockets Layer (SSL) Certificate

LAB :: Secure HTTP traffic using Secure Sockets Layer (SSL) Certificate LAB :: Secure HTTP traffic using Secure Sockets Layer (SSL) Certificate In this example we are using apnictraining.net as domain name. # super user command. $ normal user command. N replace with your group

More information

功能強大 開源免費之網路管理軟體 Nagios 安裝與應用實務介紹 中山大學 ( 高屏澎區網中心 ) 王聖全

功能強大 開源免費之網路管理軟體 Nagios 安裝與應用實務介紹 中山大學 ( 高屏澎區網中心 ) 王聖全 功能強大 開源免費之網路管理軟體 Nagios 安裝與應用實務介紹 中山大學 ( 高屏澎區網中心 ) 王聖全 1 Agenda Nagios Core 簡介及安裝 Nagios Core 主機及服務檢測機制 Nagios Core 擴充與 Plugin 整合 Nagios Core Notification 機制實例應用 2 Nagios Users and Story 3 https://www.nagios.com/casestudies/

More information

Release February Building an Enterprise Nagios Framework

Release February Building an Enterprise Nagios Framework Release 2.3.4 - February 2005 Building an Enterprise Nagios Framework Building an Enterprise Nagios Framework PUBLISHED BY: Darren Hoch hochdarren@gmail.com Copyright 2008 Darren Hoch. All Rights Reserved.

More information

These instructions cover how to install and use pre-compiled binaries to monitor AIX 5.3 using NRPE.

These instructions cover how to install and use pre-compiled binaries to monitor AIX 5.3 using NRPE. Purpose This document describes how to monitor AIX servers using or Nagios Core. The instructions were contributed by Joshua Whitaker, who successfully configured to monitor AIX 5.3 servers, thanks Joshua!

More information

Nagios Certified Professional. Preparation for the Nagios Certified Professional Certification Exam.

Nagios Certified Professional. Preparation for the Nagios Certified Professional Certification Exam. Nagios Certified Professional Preparation for the Nagios Certified Professional Certification Exam. Working Lab Manual This book is designed to be a working manual, a book you can write notes in, underline

More information

Twiki Installation Notes. Ned Brush 4/13/06. Everything is left as is (default settings) unless specified below. Distribution: RHEL 4

Twiki Installation Notes. Ned Brush 4/13/06. Everything is left as is (default settings) unless specified below. Distribution: RHEL 4 Twiki Installation Notes Ned Brush 4/13/06 Everything is left as is (default settings) unless specified below. Distribution: RHEL 4 1) Here are some good references to follow during the installation: a.

More information

Article Number: 801 Rating: Unrated Last Updated: Tue, Mar 13, 2018 at 9:19 PM

Article Number: 801 Rating: Unrated Last Updated: Tue, Mar 13, 2018 at 9:19 PM Nagios Core - Performance Graphs Using PNP4Nagios Article Number: 801 Rating: Unrated Last Updated: Tue, Mar 13, 2018 at 9:19 PM Na gio s C o r e - Pe r f o r ma nc e G r a phs Us ing PNP4Na gio s This

More information

Setting up a Chaincoin Masternode

Setting up a Chaincoin Masternode Setting up a Chaincoin Masternode Introduction So you want to set up your own Chaincoin Masternode? You ve come to the right place! These instructions are correct as of April, 2017, and relate to version

More information

2. Installing OpenBiblio 1.0 on a Windows computer

2. Installing OpenBiblio 1.0 on a Windows computer Table of Contents Installing OpenBiblio 1. System requirements... 1 2. Installing OpenBiblio 1.0 on a Windows computer... 1 2.1. Install prerequisite software... 1 2.2. Install OpenBiblio... 2 2.3. Using

More information

Bitnami Pimcore for Huawei Enterprise Cloud

Bitnami Pimcore for Huawei Enterprise Cloud Bitnami Pimcore for Huawei Enterprise Cloud Description Pimcore is the open source platform for managing digital experiences. It is the consolidated platform for web content management, product information

More information

Host and Service Status pages provide a Network Traffic Analysis tab

Host and Service Status pages provide a Network Traffic Analysis tab Integrating Nagios With Nagios XI And Nagios Core Purpose This document describes how to integrate Nagios with your Nagios XI and Nagios Core installs. Target Audience This document is intended for use

More information

Bitnami ez Publish for Huawei Enterprise Cloud

Bitnami ez Publish for Huawei Enterprise Cloud Bitnami ez Publish for Huawei Enterprise Cloud Description ez Publish is an Enterprise Content Management platform with an easy to use Web Content Management System. It includes role-based multi-user access,

More information

Bitnami Coppermine for Huawei Enterprise Cloud

Bitnami Coppermine for Huawei Enterprise Cloud Bitnami Coppermine for Huawei Enterprise Cloud Description Coppermine is a multi-purpose, full-featured web picture gallery. It includes user management, private galleries, automatic thumbnail creation,

More information

Bitnami Tiny Tiny RSS for Huawei Enterprise Cloud

Bitnami Tiny Tiny RSS for Huawei Enterprise Cloud Bitnami Tiny Tiny RSS for Huawei Enterprise Cloud Description Tiny Tiny RSS is an open source web-based news feed (RSS/Atom) reader and aggregator, designed to allow you to read news from any location,

More information

Bitnami ProcessMaker Community Edition for Huawei Enterprise Cloud

Bitnami ProcessMaker Community Edition for Huawei Enterprise Cloud Bitnami ProcessMaker Community Edition for Huawei Enterprise Cloud Description ProcessMaker is an easy-to-use, open source workflow automation and Business Process Management platform, designed so Business

More information

Public-Key Infrastructure (PKI) Lab

Public-Key Infrastructure (PKI) Lab SEED Labs PKI Lab 1 Public-Key Infrastructure (PKI) Lab Copyright 2018 Wenliang Du, Syracuse University. The development of this document was partially funded by the National Science Foundation under Award

More information

شرکت توسعه ارتباطات پردیس پارس. owncloud. The last file sharing platform you'll ever need

شرکت توسعه ارتباطات پردیس پارس. owncloud. The last file sharing platform you'll ever need شرکت توسعه ارتباطات پردیس پارس owncloud The last file sharing platform you'll ever need. Explore the Features: Click Sync and Share Your Data, with Ease A Safe Home for All Your Data Your Data is Where

More information

Monitoring a HPC Cluster with Nagios

Monitoring a HPC Cluster with Nagios Cluster with Scuola Internazionale Superiore di Studi Avanzati Trieste 2009-04-01 1 2009-04-03 1 Try again... Fail better. Outline 1 2 3 Installation for Monitoring @SISSA Cluster with What is? «R is a

More information

Bitnami Dolibarr for Huawei Enterprise Cloud

Bitnami Dolibarr for Huawei Enterprise Cloud Bitnami Dolibarr for Huawei Enterprise Cloud Description Dolibarr is an open source, free software package for small and medium companies, foundations or freelancers. It includes different features for

More information

Setting up the Apache Web Server

Setting up the Apache Web Server 1 Setting up the Apache Web Server The Apache Web Server (Hyper Text Transfer Protocol) is the most popular web server available. The project gained popularity with Linux in the 1990 s as they teamed up

More information

RTC 502 and its Git adapter, Git and its prerequisite

RTC 502 and its Git adapter, Git and its prerequisite RTC 502 and its Git adapter, Git and its prerequisite software installation and setup guide In this doc, OS is RedHat Enterprise Server 6.4. Note: Why? Because open source software installation sometimes

More information

Bitnami Re:dash for Huawei Enterprise Cloud

Bitnami Re:dash for Huawei Enterprise Cloud Bitnami Re:dash for Huawei Enterprise Cloud Description Re:dash is an open source data visualization and collaboration tool. It was designed to allow fast and easy access to billions of records in all

More information

Bitnami Piwik for Huawei Enterprise Cloud

Bitnami Piwik for Huawei Enterprise Cloud Bitnami Piwik for Huawei Enterprise Cloud Description Piwik is a real time web analytics software program. It provides detailed reports on website visitors: the search engines and keywords they used, the

More information

More DEV Less OPS. An introduction to Opsview s Event Handlers. Summary Strategy What Kind of Automation Do I Want?...

More DEV Less OPS. An introduction to Opsview s Event Handlers. Summary Strategy What Kind of Automation Do I Want?... More DEV Less OPS An introduction to Opsview s Event Handlers Summary... 1 Strategy... 2 What Kind of Automation Do I Want?... 2 When Should This Occur?... 2 Soft States... 3 Dependency Mapping... 3 Detecting

More information

Nagios Start Up Guide

Nagios Start Up Guide Nagios Start Up Guide Nagios is the industry standard for monitoring network infrastructure. The Nagios Start Up Guide provides the foundation for installation and initial configuration of Nagios. In addition,

More information

System Administration

System Administration System Administration CSE598K/CSE545 - Advanced Network Security Luke St.Clair - Spring 2008 1 Why do we care? This is probably the most important thing you can learn to secure systems? The idea to learn

More information

Bitnami OSQA for Huawei Enterprise Cloud

Bitnami OSQA for Huawei Enterprise Cloud Bitnami OSQA for Huawei Enterprise Cloud Description OSQA is a question and answer system that helps manage and grow online communities similar to Stack Overflow. First steps with the Bitnami OSQA Stack

More information

A Xen Virtual Machine Monitor Plugin for Nagios

A Xen Virtual Machine Monitor Plugin for Nagios SLES10: Nagios Plugin for Xen www.novell.com A Xen Virtual Machine Monitor Plugin for Nagios Prepared By Axel Schmidt Version 1.0 02 August, 2007 I N T R O D U C T I O N This

More information

Bitnami TestLink for Huawei Enterprise Cloud

Bitnami TestLink for Huawei Enterprise Cloud Bitnami TestLink for Huawei Enterprise Cloud Description TestLink is test management software that facilitates software quality assurance. It offers support for test cases, test suites, test plans, test

More information

Bitnami Subversion for Huawei Enterprise Cloud

Bitnami Subversion for Huawei Enterprise Cloud Bitnami Subversion for Huawei Enterprise Cloud Description Subversion enables globally distributed software development teams to efficiently version and share source code with low administrative overhead.

More information

Bitnami Mantis for Huawei Enterprise Cloud

Bitnami Mantis for Huawei Enterprise Cloud Bitnami Mantis for Huawei Enterprise Cloud Description Mantis is a complete bug-tracking system that includes role-based access controls, changelog support, built-in reporting and more. A mobile client

More information

Bitnami OroCRM for Huawei Enterprise Cloud

Bitnami OroCRM for Huawei Enterprise Cloud Bitnami OroCRM for Huawei Enterprise Cloud Description OroCRM is a flexible open-source CRM application. OroCRM supports your business no matter the vertical. If you are a traditional B2B company, franchise,

More information

Lab4 Embedded Linux. Introduction

Lab4 Embedded Linux. Introduction Introduction Lab4 Embedded Linux In this lab we will run Embedded Linux on the Arcom board. This allows us to use operating system services (such as inter-task communication) and use existing software

More information

Buzztouch Server 2.0 with Amazon EC2

Buzztouch Server 2.0 with Amazon EC2 Buzztouch Server 2.0 with Amazon EC2 This is for those that want a step by step instructions on how to prepare an Amazon's EC2 instance for the Buzztouch server. This document only covers the amazon EC2

More information

Bitnami Trac for Huawei Enterprise Cloud

Bitnami Trac for Huawei Enterprise Cloud Bitnami Trac for Huawei Enterprise Cloud Description Trac is an enhanced wiki and issue tracking system for software development projects. It provides interfaces to Subversion and Git, an integrated Wiki

More information

Kollaborate Server. Installation Guide

Kollaborate Server. Installation Guide 1 Kollaborate Server Installation Guide Kollaborate Server is a local implementation of the Kollaborate cloud workflow system that allows you to run the service in-house on your own server and storage.

More information

SEEM4540 Open Systems for E-Commerce Lecture 03 Internet Security

SEEM4540 Open Systems for E-Commerce Lecture 03 Internet Security SEEM4540 Open Systems for E-Commerce Lecture 03 Internet Security Consider 2. Based on DNS, identified the IP address of www.cuhk.edu.hk is 137.189.11.73. 1. Go to http://www.cuhk.edu.hk 3. Forward the

More information

HPCC Monitoring and Reporting (Technical Preview) Boca Raton Documentation Team

HPCC Monitoring and Reporting (Technical Preview) Boca Raton Documentation Team HPCC Monitoring and Reporting (Technical Preview) Boca Raton Documentation Team HPCC Monitoring and Reporting (Technical Preview) Boca Raton Documentation Team Copyright 2015 HPCC Systems. All rights reserved

More information

Purpose. Target Audience. Prerequisites. What Is An Event Handler? Nagios XI. Introduction to Event Handlers

Purpose. Target Audience. Prerequisites. What Is An Event Handler? Nagios XI. Introduction to Event Handlers Purpose This document describes how to use event handlers in to take predefined actions when the hosts or services you are monitoring change state. Event handlers are used to automate processes taken when

More information

Using RANCID. Contents. 1 Introduction Goals Notes Install rancid Add alias Configure rancid...

Using RANCID. Contents. 1 Introduction Goals Notes Install rancid Add alias Configure rancid... Using RANCID Contents 1 Introduction 2 1.1 Goals................................. 2 1.2 Notes................................. 2 2 Install rancid 2 2.1 Add alias............................... 3 2.2 Configure

More information

Understanding And Using Configuration Wizards In Nagios XI. This document describes how to use Configuration Wizards in Nagios XI.

Understanding And Using Configuration Wizards In Nagios XI. This document describes how to use Configuration Wizards in Nagios XI. Purpose This document describes how to use Configuration Wizards in. Target Audience This document is intended for use by Nagios Administrators that wish to get a thorough understanding of how Configuration

More information

Bitnami Spree for Huawei Enterprise Cloud

Bitnami Spree for Huawei Enterprise Cloud Bitnami Spree for Huawei Enterprise Cloud Description Spree is an e-commerce platform that was designed to make customization and upgrades as simple as possible. It includes support for product variants,

More information

Masternode Setup Guide

Masternode Setup Guide Masternode Setup Guide What this guide is This guide is aimed at anyone who wants to run a Reliance masternode on an Ubuntu 16.04 VPS. What this guide is not A tutorial for linux. What I mean by that,

More information

Installing Open Project on Ubuntu AWS with Apache and Postgesql

Installing Open Project on Ubuntu AWS with Apache and Postgesql Installing Open Project on Ubuntu AWS with Apache and Postgesql Contents Installing Open Project on Ubuntu AWS with Apache and Postgesql... 1 Add new ports to your security group... 2 Update your system...

More information

The Nagios Book Chris Burgess Copyright 2005 Chris Burgess

The Nagios Book Chris Burgess Copyright 2005 Chris Burgess The Nagios Book Chris Burgess Copyright 2005 Chris Burgess The following material contained in this document cannot be reproduced in any form without prior written permission. Nagios and the Nagios logo

More information

Bitnami ERPNext for Huawei Enterprise Cloud

Bitnami ERPNext for Huawei Enterprise Cloud Bitnami ERPNext for Huawei Enterprise Cloud Description ERPNext is an open source, web based application that helps small and medium sized business manage their accounting, inventory, sales, purchase,

More information

Tungsten Dashboard for Clustering. Eric M. Stone, COO

Tungsten Dashboard for Clustering. Eric M. Stone, COO Tungsten Dashboard for Clustering Eric M. Stone, COO In this training session 1. Tungsten Dashboard Welcome 2. Tungsten Dashboard Overview 3. Tungsten Dashboard Prerequisites 4. Tungsten Dashboard Security

More information

We want to install putty, an ssh client on the laptops. In the web browser goto:

We want to install putty, an ssh client on the laptops. In the web browser goto: We want to install putty, an ssh client on the laptops. In the web browser goto: www.chiark.greenend.org.uk/~sgtatham/putty/download.html Under Alternative binary files grab 32 bit putty.exe and put it

More information

Bitnami Open Atrium for Huawei Enterprise Cloud

Bitnami Open Atrium for Huawei Enterprise Cloud Bitnami Open Atrium for Huawei Enterprise Cloud Description Open Atrium is designed to help teams collaborate by providing an intranet platform that includes a blog, a wiki, a calendar, a to do list, a

More information

THE WATCHER. IO- Statistics. Dropping the iostat.cgi agent script (Listing 1) into the CGI directory. web server you want to investigate

THE WATCHER. IO- Statistics. Dropping the iostat.cgi agent script (Listing 1) into the CGI directory. web server you want to investigate Building your own Nagios plugins THE WATCHER You can build a plugin in Perl to harness the power of the Nagios monitoring tool. BY MICHAEL SCHILLI You may be familiar with the scene: you hear the sound

More information

Welcome to getting started with Ubuntu Server. This System Administrator Manual. guide to be simple to follow, with step by step instructions

Welcome to getting started with Ubuntu Server. This System Administrator Manual. guide to be simple to follow, with step by step instructions Welcome to getting started with Ubuntu 12.04 Server. This System Administrator Manual guide to be simple to follow, with step by step instructions with screenshots INDEX 1.Installation of Ubuntu 12.04

More information

Interested in learning more? Global Information Assurance Certification Paper. Copyright SANS Institute Author Retains Full Rights

Interested in learning more? Global Information Assurance Certification Paper. Copyright SANS Institute Author Retains Full Rights Global Information Assurance Certification Paper Copyright SANS Institute Author Retains Full Rights This paper is taken from the GIAC directory of certified professionals. Reposting is not permited without

More information

Bitnami Moodle for Huawei Enterprise Cloud

Bitnami Moodle for Huawei Enterprise Cloud Bitnami Moodle for Huawei Enterprise Cloud Description Moodle is a Course Management System that is designed using sound pedagogical principles to help educators create effective online learning communities.

More information

SmartCash SmartNode Setup Guide v1.2. Windows 10. Date: 13/01/2018. By (Jazz) yoyomonkey

SmartCash SmartNode Setup Guide v1.2. Windows 10. Date: 13/01/2018. By (Jazz) yoyomonkey SmartCash SmartNode Setup Guide v1.2 Date: Introduction Welcome to this step by step guide that will take you through the process of creating your own SmartCash SmartNode. This guide is aimed at the casual

More information

P3AM ENZ0. ETERNUS Nagios Plugin 1.1. User's Guide

P3AM ENZ0. ETERNUS Nagios Plugin 1.1. User's Guide ETERNUS Nagios Plugin 1.1 User's Guide This page is intentionally left blank. Preface The ETERNUS Nagios Plugin (referred to as "ETERNUS Nagios Plugin" or "this plugin" in the remainder of this manual)

More information

Bitnami JFrog Artifactory for Huawei Enterprise Cloud

Bitnami JFrog Artifactory for Huawei Enterprise Cloud Bitnami JFrog Artifactory for Huawei Enterprise Cloud Description JFrog Artifactory is a Binary Repository Manager for Maven, Ivy, Gradle modules, etc. Integrates with CI servers for fully traceable builds.

More information

CustomLog /var/www/vhosts/example.com/statistics/logs/access_log common

CustomLog /var/www/vhosts/example.com/statistics/logs/access_log common All steps as root, unless mentioned otherwise. First of all, configure your Apache server to use combined, instead of common as log format, in /etc/httpd/conf/httpd.conf. In Section 1: CustomLog logs/access_log

More information

WWPASS AUTHENTICATION MODULE FOR APACHE SERVER 2.2 INSTALL GUIDE

WWPASS AUTHENTICATION MODULE FOR APACHE SERVER 2.2 INSTALL GUIDE WWPASS AUTHENTICATION MODULE FOR APACHE SERVER 2.2 INSTALL GUIDE June 2013 TABLE OF CONTENTS TABLE OF CONTENTS... 2 ABOUT THIS DOCUMENT... 3 DOCUMENT TEXT CONVENTIONS... 4 ABBREVIATIONS & DEFINITIONS...

More information

Bitnami Phabricator for Huawei Enterprise Cloud

Bitnami Phabricator for Huawei Enterprise Cloud Bitnami Phabricator for Huawei Enterprise Cloud IMPORTANT: Phabricator requires you to access the application using a specific domain. This domain is the public IP address for the cloud server. Description

More information

Appliance Guide. Version 1.0

Appliance Guide. Version 1.0 Appliance Guide Version 1.0 Contents Contents 1 Revision history 2 Getting Started 3 Getting to Know the R7-3000/5000/5000x 5 Getting to Know the R7-1000 6 Setting Up the Appliance 7 Logging in to the

More information

Getting Started with the VQE Startup Configuration Utility

Getting Started with the VQE Startup Configuration Utility CHAPTER 2 Getting Started with the VQE Startup Configuration Utility This chapter explains how to use the Cisco VQE Startup Configuration Utility to perform the initial configuration tasks needed to get

More information

Article Number: 802 Rating: 4/5 from 1 votes Last Updated: Wed, Mar 7, 2018 at 5:20 PM

Article Number: 802 Rating: 4/5 from 1 votes Last Updated: Wed, Mar 7, 2018 at 5:20 PM Nagios Core - Performance Graphs Using InfluxDB + Nagflux + Grafana + Article Number: 802 Rating: 4/5 from 1 votes Last Updated: Wed, Mar 7, 2018 at 5:20 PM Na gio s C o r e - Pe r f o r ma nc e G r a

More information

Cryptography. Basic Concept and Applications. Chung-Yi Chi Jun. 26, 2010

Cryptography. Basic Concept and Applications. Chung-Yi Chi Jun. 26, 2010 Cryptography Basic Concept and Applications Chung-Yi Chi Jun. 26, 2010 Agenda Cryptography Basic Concept Secure Service using OpenSSL PGP and GPG Agenda Cryptography Basic Concept Symmetric-Key Cryptography

More information

SmartCash SmartNode Setup Guide V1.2 Windows 10 13/01/2018 By (Jazz) yoyomonkey Page 1

SmartCash SmartNode Setup Guide V1.2 Windows 10 13/01/2018 By (Jazz) yoyomonkey Page 1 SmartCash SmartNode Setup Guide v1.2 Date: Introduction Welcome to this step by step guide that will take you through the process of creating your own SmartCash SmartNode. This guide is aimed at the casual

More information

MODEM on HP-UX. Guy Van Sanden.

MODEM on HP-UX. Guy Van Sanden. MODEM on HP-UX Guy Van Sanden gvsanden@sckcen.be MODEM on HP-UX by Guy Van Sanden This document describes how to set up MODEM on HP-UX Table of Contents 1. Introduction...1 2. Apache and Tomcat...2 2.1.

More information

Expedition. Hardening Guide Version Palo Alto Networks, Inc.

Expedition. Hardening Guide Version Palo Alto Networks, Inc. Expedition Hardening Guide Version 1.0 1 Palo Alto Networks, Inc. www.paloaltonetworks.com 2018 Palo Alto Networks, Inc. Palo Alto Networks is a registered trademark of Palo Alto Networks. You can find

More information

If you re the administrator on any network,

If you re the administrator on any network, Let s do an inventory! If you re the administrator on any network, chances are you ve already faced the need to make an inventory. In fact, keeping a list of all the computers, monitors, software and other

More information

This document is intended for use by Nagios XI Administrators who need a boost in I/O performance.

This document is intended for use by Nagios XI Administrators who need a boost in I/O performance. Purpose This document describes how to use a RAM disk to boost performance on a server. Target Audience This document is intended for use by Administrators who need a boost in I/O performance. Summary

More information

ViMP 2.0. Installation Guide. Verfasser: ViMP GmbH

ViMP 2.0. Installation Guide. Verfasser: ViMP GmbH ViMP 2.0 Installation Guide Verfasser: ViMP GmbH Table of contents About this document... 3 Prerequisites... 4 Preparing the server... 5 Apache2... 5 PHP... 5 MySQL... 5 Transcoding... 6 Configuration...

More information

Linux Essentials Objectives Topics:

Linux Essentials Objectives Topics: Linux Essentials Linux Essentials is a professional development certificate program that covers basic knowledge for those working and studying Open Source and various distributions of Linux. Exam Objectives

More information

SmartCash SmartNode SCRIPT Setup Guide v2.2. Windows 10. Date: 20/02/2018. By (Jazz) yoyomonkey

SmartCash SmartNode SCRIPT Setup Guide v2.2. Windows 10. Date: 20/02/2018. By (Jazz) yoyomonkey SmartCash SmartNode SCRIPT Setup Guide v2.2 Date: Introduction Welcome to this step by step guide that will take you through the process of creating your own SmartCash SmartNode. This guide is aimed at

More information

MISP2 installation and configuration guide. Version 2.12

MISP2 installation and configuration guide. Version 2.12 MISP2 installation and configuration guide Version 2.12 Contents Contents... 2 1. Introduction... 3 2. Environment requirements... 3 3. MISP2 Installation... 3 3.1. Updating the MISP2 package list... 3

More information

Wallet Installation Guide for Staking on Raspberry PI

Wallet Installation Guide for Staking on Raspberry PI Wallet Installation Guide for Staking on Raspberry PI V2.1 November 2018 CONTENTS 01. Version History... 13 02. Introduction... 3 03. Prerequisites... 13 04. Installation Steps... 6 05. Add an address

More information

Illustrated Steps to create greggroeten.net with AWS

Illustrated Steps to create greggroeten.net with AWS Illustrated Steps to create greggroeten.net with AWS Screenshots of each step Table of Contents 1. CREATE VPC 10.10.0/16.... 3 2. CREATE 1 PUBLIC SUBNET IN DEFAULT AZ, EX BELOW... 4 3. CREATE IGW, ATTACH

More information

Crypto Programming with OpenSSL. (Creating Certificates)

Crypto Programming with OpenSSL. (Creating Certificates) Crypto Programming with OpenSSL (Creating Certificates) Secure Host-to-Host Communication Secure communication between hosts is necessary to prevent successful MITM attacks The communication channel is

More information

Jarvis Web Gateway. Installation Instructions. Jonathan Couper-Smartt

Jarvis Web Gateway. Installation Instructions. Jonathan Couper-Smartt Jarvis Web Gateway Installation Instructions Jonathan Couper-Smartt jarvis@nsquared.co.nz Abstract: The Jarvis Web Gateway is a lightweight web-service designed to give Rich Internet Applications a rapid,

More information

Setting up VPS on Ovh public cloud and installing lamp server on Ubuntu instance

Setting up VPS on Ovh public cloud and installing lamp server on Ubuntu instance Setting up VPS on Ovh public cloud and installing lamp server on Ubuntu instance What is OVH Public Cloud Public Cloud Instances provides a choice of two types of virtual machines: the RAM instances are

More information

Step 1 - Install Apache and PostgreSQL

Step 1 - Install Apache and PostgreSQL How to install OTRS (Open Source Trouble Ticket System) on Ubuntu 16.04 Prerequisites Ubuntu 16.04. Min 2GB of Memory. Root privileges. Step 1 - Install Apache and PostgreSQL In this first step, we will

More information

Genesys Interaction Recording Solution Guide. WebDAV Requirements

Genesys Interaction Recording Solution Guide. WebDAV Requirements Genesys Interaction Recording Solution Guide WebDAV Requirements 11/24/2017 Contents 1 WebDAV Requirements 1.1 Deploying the WebDAV Server 1.2 Configuring TLS for the WebDAV Server 1.3 Next Step Genesys

More information

MarketC - Masternode Setup Guide

MarketC - Masternode Setup Guide MarketC - Masternode Setup Guide Preface In this guide we will be focusing on setting up a masternode for Marketc (CMK). This guide will focus on a typical "hot node" / "cold wallet" scenario. The "hot

More information

1 Installation (briefly)

1 Installation (briefly) Jumpstart Linux Bo Waggoner Updated: 2014-09-15 Abstract A basic, rapid tutorial on Linux and its command line for the absolute beginner. Prerequisites: a computer on which to install, a DVD and/or USB

More information

Steps to enable Push notification for your app:

Steps to enable Push notification for your app: User Guide Steps to enable Push notification for your app: Push notification allows an app to notify you of new messages or events without the need to actually open the application, similar to how a text

More information

John the Ripper on a Ubuntu MPI Cluster

John the Ripper on a Ubuntu MPI Cluster John the Ripper on a Ubuntu 10.04 MPI Cluster Pétur Ingi Egilsson petur [at] petur [.] eu 1 Table of Contents Foreword...3 History...3 Requirements...3 Configuring the Server...3 Requirements...3 Required

More information

VMware Monitoring Using Unnoc - Setup Instructions

VMware Monitoring Using Unnoc - Setup Instructions VMware Monitoring Using Unnoc - Setup Instructions Summary: This document explains how to setup an Unnoc server to monitor VMware vcenter Servers, ESX Servers, and Virtual Machines using the Perl VI SDK.

More information

Bitnami DokuWiki for Huawei Enterprise Cloud

Bitnami DokuWiki for Huawei Enterprise Cloud Bitnami DokuWiki for Huawei Enterprise Cloud Description DokuWiki is a standards-compliant, simple to use wiki optimized for creating documentation. It is targeted at developer teams, workgroups, and small

More information

Cryptography Application : SSH. Cyber Security & Network Security March, 2017 Dhaka, Bangladesh

Cryptography Application : SSH. Cyber Security & Network Security March, 2017 Dhaka, Bangladesh Cryptography Application : SSH Cyber Security & Network Security 20-22 March, 2017 Dhaka, Bangladesh Issue Date: [31-12-2015] Revision: [v.1] What is Safely Authentication I am Assured of Which Host I

More information

Below are the steps to install Orangescrum Self Hosted version of Cloud Edition in Ubuntu Server Last Updated: OCT 18, 2018

Below are the steps to install Orangescrum Self Hosted version of Cloud Edition in Ubuntu Server Last Updated: OCT 18, 2018 Below are the steps to install Orangescrum Self Hosted version of Cloud Edition in Ubuntu Server Last Updated: OCT 18, 2018 Step 1 Download the Orangescrum Self Hosted version of CloudEdition Extract the

More information

Masternode Guide #1. Single masternode on Linux VPS (Ubuntu)+ control wallet on local PC (Windows)

Masternode Guide #1. Single masternode on Linux VPS (Ubuntu)+ control wallet on local PC (Windows) Masternode Guide #1 Single masternode on Linux VPS (Ubuntu)+ control wallet on local PC (Windows) Prerequisites: a - A remote server (Virtual Private Server, VPS) which will be our masternode wallet. b

More information

Ubuntu Practice and Configuration Post Installation Exercises interlab at AIT Bangkok, Thailand

Ubuntu Practice and Configuration Post Installation Exercises interlab at AIT Bangkok, Thailand Ubuntu Practice and Configuration Post Installation Exercises interlab at AIT Bangkok, Thailand 1. Get used to using sudo 2. Create an inst account 3. Learn how to install software 4. Update /etc/apt/sources.list

More information

Nagios Version 2.x Documentation. Copyright Ethan Galstad Last Updated: [ Table of Contents ]

Nagios Version 2.x Documentation. Copyright Ethan Galstad   Last Updated: [ Table of Contents ] Table of Contents Nagios Version 2.x Documentation Copyright 1999-2006 Ethan Galstad www.nagios.org Last Updated: 11-27-2006 [ Table of Contents ] Nagios and the Nagios logo are registered trademarks of

More information