4 articles Monitoring

Manage System Logs with Graylog and rsyslogd

Graylog is widely used for log management and analysis. There are 4 main components of Graylog: Graylog Server MongoDB ElasticSearch NGINX as ReverseProxy to secure Graylog API Below steps will help, reader to basic installation of Single Node Graylog server and redirect system logs from rsyslogd to Graylog. Do let me know your queries on ngurjar…

Exim Mailqueue Monitoring Script

This script will count number of mails in queue and validate with threshold value. If it is more than it will send an email using thirdparty tool called SendEmail. One important point to note, that is we need to use SMTP hosted on other server. Thats why we are using SendEmail perl script. We need…

Configure Mail Notification with icinga2

Configuring Mail Notification in Icinga2 is very easy. We will use third party SMTP to send email notifications using thirdparty tool “sendEmail.pl”. sendEmail.pl is Perl script which send email to mailserver to send email. /etc/icinga2/scripts/mail-service-notification.sh : This script actually does work of sending emails. By default it uses inbuild “mail” utility. /etc/icinga2/users.conf: This conf file has user…

Monitoring Kafka, Storm, Zookeeper with Icinga2

Steps to monitor Kafka & Storm: – open JMX port for kafka and storm – To open JMX port in Kafka : a. Add below line to $KAFKA_HOME/bin/kafka-run-class.sh b. Add below line to $KAFKA_HOME/bin/kafka-server-start.sh c. Restart kafka – To open JMX port in Storm: a. Add below lines $STORM_HOME/conf/storm.yaml b. Restart Storm – Check ports…