Altering the Nagios daemon startup script to include NDO.
previously I wrote an article on how to create a deamon script for ndo. But when you are using Centreon the only “nice” way to do this is by altering the Nagios startupscript to include the ndo part....
View ArticleNDO2DB startup script for RH (EL) / OEL
Below a script designed to use the RH . /etc/init.d/functions library. It will use 2 “find” commands to test if it can find the ndo2db binairy and config file. Next it will daemonize the ndo2db process...
View ArticleCheck_iostat.pl version 0.9.7
Previous version and detaild information http://sysengineers.wordpress.com/2010/02/05/check_iostat-for-nagios-version-0-9-5/ Application Goal: Check disk IO using a simple perl script and possibly the...
View ArticleSimple PHP script to walk and print a directory tree
<?php function walk_dir($dir){ $relativedir = '.'.$dir; if($dh = opendir($relativedir)){ while(false !== ($file = readdir($dh))){ if(($file !== '.') && ($file !== '..')){...
View ArticleRHEL5 init script for tomcat catalina
I have written an init script for Tomcat Catalina running in RHEL version 5. I have tested this script using Oracle Enterprise Linux 5.5 Carthage. The script should comply to the init standards defined...
View ArticleDraw dots in images using PHP, XMLHttp, Mysql.
A family member asked me if it was possible to use html, php, mysql to mark spots in an image of the human skeleton during an medical anamnesis collection. He wanted this to easily mark the complaint...
View Articlesimple fix for Joomla rss (com_ninjarssyndicator) blank line issue.
Like many we experienced the blank line issue within the Joomla RSS ninja syndicator. The effect of this blank line is that it is not being recognized by rss parsers. To overcome this little issue...
View ArticleBackup script for GLPI (http://www.glpi-project.org)
If you are using the great GLPI tool, you will notice that the market value of the data inside will increase rapidly. This usually also implicates that it is ‘wise’ to back this data up. There are many...
View ArticleExtract all content to disk from a SPS2007 content DB using PHP
Today I ran into a problem. We needed to migrate a huge amount of data from an old SharePoint 2007 content database without the availability of the MOSS front-end. All i had was the database and a...
View ArticleNdo Utils startup script for usage with chkconfig.
Is functional, there is a bug in the start portion that i still need to fix. But it will start the deamon correctly and if you use the “service ndodaemon rewrite-lock” the status and stop functions...
View Article