Archive

sobota, 22 września 2012

script for sending sms nagios

Script for sending sms for nagios. I have problems with queue when nagios sends by gnokii or gammu sms with multiple receipients. database and gammu-smsd was't allowed when I wrote that. need to --clean after reboot(can't find version of script with installer and system service[old script]), it store messages in queue and cron job(script name without parameters check pool and send) --list print out list of messages in queue Contact template Command template

niedziela, 12 sierpnia 2012

MikroTik + Python Paramiko - Backup script

Dude2Nagios with map coordinates

I'm using Nagios, some people in my company using MikroTik DUDE. I've encountered some serious problems using DUDE(stability -some early 2.x versions), so I choose NAGIOS for monitoring tool, everybody know how the default Nagios map look like, this script using DUDE xml export file to generate Nagios host files with supplied map coordinates. Dude is for adding devices, drawing map, and as backup monitoring system. You can change the default map style in ccgi.cfg of Nagios(option "layout=")

Tired of company life...

...It is time to stop and think about this freakin race. This is place where I will post some scripts, some thoughts that make my life easier some time ago, and some other people. I'm not blog fan, if it's survive I'll add some newer things