Mysql status update is a script which provides status update by email or SMS whenever mysql is restarted, huge fluctuation in numbers difference about queries and slow queries. Thought of sharing.
Please follow link to get more details on it.
Found a great and fantastic tool which monitors full processlist of mysql query running on server. No logs required to get the details. You can use it to log to any way you want it and can see what all queries have been executed on server for fine tuning your application. Written is perl, Its [...]
Cool piece of perl script that monitors usage/resource consumption of Mysql on Linux machine.Written in perl and can be modified to get details of almost any running program.Liked a lot as it helps me to get resource consumption of many programs.
Please follow link to get more detail on it.
Apache log has various formats, out of which common and combined are mostly used ones. Bash script that is provided below parses apache common/combined logs and displays information out of its stats. In the resulting output, the “User Agent” part can be extended further to display many other information like Browsers, OS and so on.
Any [...]
Want to monitor your logs in real time and generate action based on matching pattern, you can use swatch. It produces desired result with negligible load on the server and alerts admin based on pattern it is asked to look for in logs. Monitors any kind of logs.
Please follow link to get more details on [...]
Found a great tool which generates server report and sends it via mail. Reports can also be kept in folders and displayed on web page as index is also defined as a calender wise for reports generated. Many features support.
Please follow link to get more details on it.
Below script will parse Apache config and will grab only the VirtualHost section from config file. Script can be extended to parse any directives in apache config file.
#!/bin/bashmyifs=$IFSIFS=$(echo -en “\n”)scan_file=`sed -n ‘/^<VirtualHost*/,/<\/VirtualHost>/p’ /etc/httpd/conf/httpd.conf | grep -v “#” | sed ’s/^[ \t]*//;s/[ \t]*$//’ | sed ’s/<//g’ | sed ’s/>//g’ | sed ’s/:/ /g’ | sed ’s/\/V/V/g’` [...]
Looking for php scripts.
Found an interesting link which has cool collection of php scripts. Really interesting, It has collection of php, java, Ajax and many other.
Check out by visiting site .
Wondering to figure out if there was an attempt on your site using Apache logs, you can do that using Ida. It is Intrusion Detection for Apache which scans Apache logs to detect attempts. The log format needs to be in common format. It contains plugins to find out attempts. Really a handy tool to [...]
Backup of syslog is very critical in order to analyze and get more details about your running machine. I found an interesting link to do backup of syslog for various kind of flavors of Linux.
Please follow link to get more detail.
Saturday, February 13, 2010
0 Comments