Monitor site to site tunneling health for Cisco ASA using Zabbix

I'm getting troubled when it comes to monitor tunnel health using OID checking. The problem was: - On Cisco Devices, each tunnel session has different OID - When tunnel disconnected, OID will disappear - When tunnel reconnected, the previous OID will be gone and recreated with different OID - By that case, we can't monitor the tunnel health using SNMP OID since the OID will be randomly changed. We don't want to change the OID manually each time the tunnel disconnect, do you? In this post,...

How to Run Python Script on Startup in Linux

Sometimes,we need to run python scripting manually when our linux machine doing any reboot. This can be solved with adding the script to rc.local configuration. this rc file will be run when we doing boot. To know more about booting process you can read it here. Ok,here is the step to add the script to rc.local file For example,i have sd-agent python script for my monitoring stuff. This file located at my root directory I need to run the agent.py file everytime my machine start up. So...

How To Check Raid Status and Replace Using Megacli

On

In this case,im using raid 1 with 2 physical drive. Check the Raid status using this command [root@linux ~]# /opt/MegaRAID/MegaCli/MegaCli64 -LDInfo -Lall -aALL -NoLog Adapter 0 -- Virtual Drive Information: Virtual Drive: 0 (Target Id: 0) Name                : RAID Level          : Primary-1, Secondary-0, RAID Level Qualifier-0 Size                : 136.125 GB Mirror Data...

Install Zabbix Agent on Debian

Install repository configuration package get the suitable package for your machine #cat /etc/debian_version download from repo.zabbix.com based from your version. example,my debian version is wheezy # wget http://repo.zabbix.com/zabbix/2.0/debian/pool/main/z/zabbix-release/zabbix-release_2.0- 1wheezy_all.deb #dpkg -i zabbix-release_2.0-1wheezy_all.deb #apt-get update Install zabbix agent #apt-get install zabbix-agent edit configuration file #nano /etc/zabbix/zabbix_agentd.conf Basic...

How to SSH using .pem Private key

make sure you own .pem key file on your local machine. use this command : ssh -i /path/yourkey.pem -l username ipaddress make sure permission for .pem file is 400,otherwise it will shown this error Permissions 0644 for 'yourkey.pem' are too open. It is required that your private key files are NOT accessible by others. This private key will be ignored. bad permissions: ignore key: cozi.pem you can check your current permission using ls -l /path/yourkey.pem standard permission...

How to Add Raid Monitoring to Zabbix Agent

In this case,we need to add raid monitoring to notify us if there is an error with the raid. note: i'm using MegaCli for this Login to zabbix server web interface add new template,name Template_LSI_RAID_Active add new application into it,name RAID add item,set value similar with this add trigger,set value like this  Back to template list,and select you new LSI Template, add Macro  {$EXPECTED_OPTIMAL_LDS} set value to 1  *you should have new template now,it can be...

Page 1 of 212