Article tagué monitoring

When Twitter meets an Oracle Database

twitterTwitter has been making a lot of fuss around for a few months. In not any particular order : Google might be on the track for a potential acquisition ; Twitter has been gaining traditional media focus ; some people forgot that Twitter is not so private and that may lead to hazardous work-related situations for your own career… Not so lately, showbiz people have found an additional celebrity key indicator with an unofficial highest followers owner contest. Well, you got it. It does not seem to pace down.

And you may think yourself : everything Twitter-related is a bit too hyped out ? You are likely to be right but computer geek people never desperate to find an odd way with trendy web products and to extend its basic feature.

In our case, a DBA guy wanted to use Tweeter with an Oracle Database. You may wondering what would be the point for doing that ? I guess this question should be merely ignored if you are already using Twitter and to be honest there is no point. Let’s pretend that we just want have fun. So no production should be involved. As mentionned by the author, in a corporate environment, this would not be recommended. First, most of database servers should not be internet access enabled from the corporate firewall. Moreover, addressing publicly the database status is also not the best security option.

Basically, a PL/SQL package (here named ora_tweet) is created to initiate calls to the Twitter API with the help of UTL_HTTP package. It enables a database to proceed HTTP requests. A Twitter account is needed so you would rather sign up for an additionnal one. Thanks to this setup, long processes once accomplished, will notify you with a 140 characters Twitter message.

If you want to give a try, follow the original post on database-geek.com (uh… we are not related FYI) with the whole instructions.

Monitorer vos serveurs avec Fully Automated Nagios

Fully Automated Nagios est une distribution basée sur CentOs. FAN intègre tout les plugins et outils les plus utilisés par la communauté Nagios.

Le but étant d’avoir une distribution pré-configurée pour monitorer vos serveurs et permettre un gain de temps important.

Vous retrouvez principalement les applications suivantes :

Nagios : Application principale de monitoring,

Centreon : Interface Web pour Nagios,

NaReTo : Outil de création de rapport pour Nagios…

Ainsi qu’un grand nombres de plugins les plus utilisés, comme par exemple check_nrpe.

Je reviendrai plus longuement sur ces outils et cette distribution dans un prochain tutorial.

En attendant, vous pouvez télécharger FAN v1.1 ou directement ajouter le repository de FAN :

Crééez « /etc/yum.repo.d/FAN.repo»  :

[FAN]
name=FAN - Base
baseurl=http://cedrictemple.net/FAN/repository/fanprod/
gpgcheck=1
gpgkey=http://cedrictemple.net/FAN/repository/fanprod/RPM-GPG-KEY-FAN-1

et mettre à jour votre repository :

yum update

La version 2.0 de FAN devrait intégrer Nagios 3