Sponsored Content
The Lounge What is on Your Mind? Self made monitoring application Post 302948906 by Peasant on Saturday 4th of July 2015 01:04:53 AM
Old 07-04-2015
There are free solution like Cacti or Nagios which can provide all you have mentioned for free.
Personaly i use Cacti, i have been able to demonstrate that it is working with all stuff required (alerting, capacity planing, equipment support).

It is also completely open source, so you can hack around it (it is php / mysql / apache).

A shell script based solution will be hard to implement to work on all unix/linux operating systems (it can be done, but it will require much more effort).
It will be a monster script at the end if you wish to support everything Smilie

That is why folks use SNMP and/or agent based monitoring with central system.
 

6 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Testing Monitoring Application

Hi there, I'm a newbie to using Solaris. I need to test an existing application that is monitoring applications/processes of its health and state. My task is to see if the application is doing the monitoring correctly. Everything is very new to me... please suggest some ideas of how I can... (2 Replies)
Discussion started by: laila63
2 Replies

2. UNIX and Linux Applications

Is there any way to find any changes made to a directory?

Hi groupies. Is there any way to find any changes made to a directory? Changes are adding a file to the directory or removing a file. That is, I need to get the name of the file which is added or removed. For adding, I... (2 Replies)
Discussion started by: ashokmeti
2 Replies

3. Cybersecurity

Help - Made a serious admin error

Hello, I am a newbie to Unix administration (specifically Solaris 9). I have everything setup properly for auditing but I neglected to realize I needed to start a new logfile each week. Thus the one logfile grew to about 2.5GB before the auditreduce command could no longer process the file. ... (4 Replies)
Discussion started by: jtbates
4 Replies

4. UNIX for Advanced & Expert Users

How to : Identify changes made with root ?

Thanks Avklinux (1 Reply)
Discussion started by: avklinux
1 Replies

5. UNIX for Dummies Questions & Answers

Check the changes made to file in vi

Hi, I use vi editor in Unix. Is there any way if we can know that what change was made to the file opened in vi before quitting? As i opened a huge file made some changes yesterday and didnt save it. Today when i was quitting the vi , i came to know that some changes are made(as i got... (6 Replies)
Discussion started by: kailash19
6 Replies

6. Post Here to Contact Site Administrators and Moderators

Fix a change I made

I made a change in either my my User Control Panel or Miscelleneous. I may have switched to a mobile format. This is what I do NOT want. Dropbox - NotWhatIWant.png This is how I would like to returned to. Dropbox - WhatIWant.png (4 Replies)
Discussion started by: drew77
4 Replies
MYSQL_FIX_PRIVILE(1)					       MySQL Database System					      MYSQL_FIX_PRIVILE(1)

NAME
mysql_fix_privilege_tables - upgrade MySQL system tables SYNOPSIS
mysql_fix_privilege_tables --password=root_password DESCRIPTION
Note In MySQL 5.1.7, mysql_fix_privilege_tables was superseded by mysql_upgrade, which should be used instead. See mysql_upgrade(1). Some releases of MySQL introduce changes to the structure of the system tables in the mysql database to add new privileges or support new features. When you update to a new version of MySQL, you should update your system tables as well to make sure that their structure is up to date. Otherwise, there might be capabilities that you cannot take advantage of. mysql_fix_privilege_tables is an older script that previously was used to uprade the system tables in the mysql database after a MySQL upgrade. Before running mysql_fix_privilege_tables, make a backup of your mysql database. On Unix or Unix-like systems, update the system tables by running the mysql_fix_privilege_tables script: shell> mysql_fix_privilege_tables You must run this script while the server is running. It attempts to connect to the server running on the local host as root. If your root account requires a password, indicate the password on the command line like this: shell> mysql_fix_privilege_tables --password=root_password The mysql_fix_privilege_tables script performs any actions necessary to convert your system tables to the current format. You might see some Duplicate column name warnings as it runs; you can ignore them. After running the script, stop the server and restart it so that any changes made to the system tables take effect. On Windows systems, MySQL distributions include a mysql_fix_privilege_tables.sql SQL script that you can run using the mysql client. For example, if your MySQL installation is located at C:Program FilesMySQLMySQL Server 5.1, the commands look like this: C:> cd "C:Program FilesMySQLMySQL Server 5.1" C:> binmysql -u root -p mysql mysql> SOURCE share/mysql_fix_privilege_tables.sql Note Prior to version 5.1.17, the mysql_fix_privilege_tables.sql script is found in the scripts directory. The mysql command will prompt you for the root password; enter it when prompted. If your installation is located in some other directory, adjust the path names appropriately. As with the Unix procedure, you might see some Duplicate column name warnings as mysql processes the statements in the mysql_fix_privilege_tables.sql script; you can ignore them. After running the script, stop the server and restart it. COPYRIGHT
Copyright 2007-2008 MySQL AB, 2008-2010 Sun Microsystems, Inc. This documentation is free software; you can redistribute it and/or modify it only under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License. This documentation is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with the program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or see http://www.gnu.org/licenses/. SEE ALSO
For more information, please refer to the MySQL Reference Manual, which may already be installed locally and which is also available online at http://dev.mysql.com/doc/. AUTHOR
Sun Microsystems, Inc. (http://www.mysql.com/). MySQL 5.1 04/06/2010 MYSQL_FIX_PRIVILE(1)
All times are GMT -4. The time now is 04:24 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy