Category Archives: Programming

parse expect_output in a variable : TCL Data Structure

Sometimes we have to automate our steps through expect, run some commands in remote machine and capture the output of a command in a variable and use that variable in some other task. So here is an example, how we … Continue reading

Posted in ARTICLES, DevOps, Programming, SCRIPTING, TIPS & T RICS | Tagged , , , | Leave a comment

python : trace line number with exception

In python we raise exception to catch if anything goes wrong, but sometime with try block we have multiple lines of code and we are not able to track which line exactly throwing the exception. There is way to catch … Continue reading

Posted in ARTICLES, Programming, SCRIPTING, TIPS & T RICS | Tagged , | Leave a comment

pexpect alternative in python for remote connection

We generally use python pexpect module to connect system remotely with ssh and execute our tasks. But sometimes pexpect module is not found to be installed in remote systems which create problems. And this problem can be solved with the … Continue reading

Posted in ARTICLES, OperatingSystem, Operations, Programming, SCRIPTING | Tagged , , | Leave a comment

SNMP Poller tool to monitor any thing on network

Few years ago, I had created one SNMP Poller tool using perl and snmp utilites that can poll OID informations from any network devices, which is kind of passive monitoring mechanism. Thought to make it Opensource under GNU GPL. The … Continue reading

Posted in ARTICLES, FOSS, Monitoring, Programming, SCRIPTING | Tagged , , , , , | Leave a comment

chef knife tricks: Add a node in an environment

  Sometime during automation of a large deployment process, we have to bootstrap a node , create environment and add the node in that particular environment on the fly.   Bootstraping : 2. Create environment dynamically from inside the programme:(python … Continue reading

Posted in ARTICLES, Configurtion management, DevOps, HOWTO, Programming | Tagged , , , | Leave a comment

Nagios Plugin Developed@NagiosExchange

Long ago, while working in one of the previous organization, there were lots of components like services and servers running in production environment. I had deployed all products one by one from scratch and the count kept on increasing. There … Continue reading

Posted in ARTICLES, Container, DevOps, FOSS, Monitoring, Operations, Programming, Virtualization | Tagged , , , , | Leave a comment

Chef Recipe: Oracle DB 11gR2 EE silent deploy

Chef provides a lot of flexibility and greater choice for infrastructure automation and I prefer it over others. We should design our recipe in such a way that the our recipes without being modified can be used in any environment … Continue reading

Posted in ARTICLES, DevOps, HOWTO, Operations, Private Cloud, Programming, Public Cloud, TUTORIALS | Tagged , , , | Leave a comment