Template for Generic Nagios Plugin | blog.jgriffiths.org

I love nagios it’s the perfect way to monitor linux. Monitoring command can be written in almost any language: nagios expects a exit code and a exit string and it works. I write most of my plugins in bash shell. Here is a generic plugin template: #!/bin/bash # Sanity check if [ $# -ne 2 Read more about Template for Generic Nagios Plugin | blog.jgriffiths.org[…]

MySQL Error 23 on Linux | Chris Johnson’s Blog

If you have ever encountered a “23 error” you are most likely running MySQL on a windows machine. The error looks something like this: ERROR 23 (HY000): Out of resources when opening file ‘./somedb/sometable.MYD’ (Errcode: 24) What this error typically means is that MySQL has exceeded the limit for the number of files you can Read more about MySQL Error 23 on Linux | Chris Johnson’s Blog[…]

PHP 5.3 : Configuration par répertoire basée sur des fichiers .ini – Pascal MARTIN (n+1).zéro

php.ini : Sections PATH et HOST La seconde nouveauté au niveau de la configuration de PHP, toujours en mode CGI, est l’ajout du support des sections PATH et HOST, utilisables dans le fichier php.ini. Section PATH Il est possible, à partir de PHP 5.3, de définir dans le fichier php.ini système des valeurs de directives Read more about PHP 5.3 : Configuration par répertoire basée sur des fichiers .ini – Pascal MARTIN (n+1).zéro[…]