Introduction One of the more popular products on the market right now is NewRelic for application monitoring. What’s cool is you can also use their Server product to monitor an unlimited number of servers using the same license key. This tutorial will briefly walk you through how to set this up on your ProfitBricks Ubuntu ..

Read more

– netstat -ntu | awk ‘ $5 ~ /^[0-9]/ {print $5}’ | cut -d: -f1 | sort | uniq -c | sort -n  netstat with group by (ip adress) netstat has two lines of headers: Active Internet connections (w/o servers) Proto Recv-Q Send-Q Local Address Foreign Address State Added a filter in the awk command to ..

Read more

Syntax The syntax of ip-ranges.json is as follows. syncTokenThe publication time, in Unix epoch time format. Type: String Example: “syncToken”: “1416435608”createDateThe publication date and time. Type: String Example: “createDate”: “2014-11-19-23-29-02″prefixesThe IP prefixes. Type: Arrayip_prefixThe public IP address range, in CIDR notation. Type: String Example: “ip_prefix”: “198.51.100.2/24″regionThe AWS region or GLOBAL for edge locations. Note that the CLOUDFRONT and ROUTE53 ranges are GLOBAL. Type: String Valid values: ap-northeast-1 | ap-southeast-1 | ap-southeast-2 | cn-north-1 | eu-central-1 |eu-west-1 | sa-east-1 | us-east-1 | us-gov-west-1 | us-west-1 | us-west-2 | GLOBAL Example: “region”: ..

Read more

Etcd Volume EncryptionYou must configure etcd volume encryption before bringing up your cluster. You cannot add etcd volume encryption to an already running cluster. Encrypting Etcd Volumes Using the Default AWS KMS KeyEdit your cluster to add encryptedVolume: true to each etcd volume: kops edit cluster ${CLUSTER_NAME} …etcdClusters:– etcdMembers:– instanceGroup: master-us-east-1aname: aencryptedVolume: truename: main– etcdMembers:– ..

Read more

IFTOP Pre-requisite Install libpcap and libncurses Installation of the libpcap and libncurses library with YUM command as shown below for error-free iftop installation. # yum -y install libpcap libpcap-devel ncurses ncurses-devel Download and Install IFTOP Download iftop from it’s website with Wget command as shown below. # wget http://www.ex-parrot.com/pdw/iftop/download/iftop-0.17.tar.gz Follow the below all commands to install iftop. # tar -zxvf iftop-0.17.tar.gz # cd iftop-0.17 # ./configure ..

Read more

. Nexus Provides a separate REST API to retrieve files when interpreting the maven-metadata.xml is required. The syntax looks like this: wget “http://repository.sonatype.org/service/local/artifact/maven/content?r=snapshots&g=org.sonatype.nexus&a=nexus-utils&v=LATEST” –content-disposition Where: If the version is not a concrete version, then Nexus will look in the maven-metadata.xml in the same way Maven does to resolve the version. The filename will be set in the content-disposition header ..

Read more

Introduction A Linux host running rsyslog can send all or individual logs to another rsyslog host over a TCP or UDP connection. This is necessary to preserve the integrity of the log files if the host is ever compromised or provide a centralized location for managing the log files. Requirements Install Rsyslog Rsyslog will already likely be installed on ..

Read more

Introduction SSH can handle authentication using a traditional username and password combination or by using a public and private key pair. The SSH key pair establishes trust between the client and server, thereby removing the need for a password during authentication. While not required, the SSH private key can be encrypted with a passphrase for ..

Read more