Sponsored Content
The Lounge What is on Your Mind? Self made monitoring application Post 302948883 by frustrated1 on Friday 3rd of July 2015 12:18:40 PM
Old 07-03-2015
Self made monitoring application

Hi.. Looking for advice / feedback

Work in IT in an operational team, number of years ago, all monitoring was manual, vast checklists for unix checks, checking space, checking application processes, files etc. filling in spreadsheets etc.

I took some basic scripting courses in ksh and overtime built up my skills.
Eventually started scripting some of the manual checks and alerting to a global text file that was monitored instead.
A year later decided to go a step further as there was no money for commercial IT monitoring tools.

So I set up a freeware database on an old unix server, ran a webserver and Solaris.
Put all events in to tables and designed a relatively simple but effective web page as a front end, so alerts could be seen clearly in one view and alerts auto clear etc.

Everything is managed by scripts, monitors space, processes, server response, some web page response times, file flows, connects to a lot of remote servers to monitor critical metrics and alert.
Also have started putting in some capacity / performance monitoring using the db to record and Google charts for graphical representation ..

It would never replace a commercial tool for large companies, but I am wondering if there may smaller companies with say 50-100 servers that something like this may interest.
As its all pretty much ksh scripts on top of some of freeware I mentioned, it's not encoded / packaged so I'm not sure how to go about things even if there was interest.
There has been great feedback internally, especially as cost is extremely low, literally a basic server and my time.
We are now investing in commercial tools as company has expanded

Interested in your thoughts
 

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
posix_fadvise(3C)					   Standard C Library Functions 					 posix_fadvise(3C)

NAME
posix_fadvise - file advisory information SYNOPSIS
#include <fcntl.h> int posix_fadvise(int fd, off_t offset, off_t len, int advice); DESCRIPTION
The posix_fadvise() function advises the system on the expected behavior of the application with respect to the data in the file associated with the open file descriptor, fd, starting at offset and continuing for len bytes. The specified range need not currently exist in the file. If len is zero, all data following offset is specified. The system may use this information to optimize handling of the specified data. The posix_fadvise() function has no effect on the semantics of other operations on the specified data, although it may affect the performance of other operations. The advice to be applied to the data is specified by the advice parameter and may be one of the following values: POSIX_FADV_NORMAL Specifies that the application has no advice to give on its behavior with respect to the specified data. It is the default characteristic if no advice is given for an open file. POSIX_FADV_SEQUENTIAL Specifies that the application expects to access the specified data sequentially from lower offsets to higher off- sets. POSIX_FADV_RANDOM Specifies that the application expects to access the specified data in a random order. POSIX_FADV_WILLNEED Specifies that the application expects to access the specified data in the near future. POSIX_FADV_DONTNEED Specifies that the application expects that it will not access the specified data in the near future. POSIX_FADV_NOREUSE Specifies that the application expects to access the specified data once and then not reuse it thereafter. These values are defined in <fcntl.h> RETURN VALUES
Upon successful completion, posix_fadvise() returns zero. Otherwise, an error number is returned to indicate the error. ERRORS
The posix_fadvise() function will fail if: EBADF The fd argument is not a valid file descriptor. EINVAL The value of advice is invalid, or the value of len is less than zero. ESPIPE The fd argument is associated with a pipe or FIFO. USAGE
The posix_fadvise() function has a transitional interface for 64-bit file offsets. See lf64(5). ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Interface Stability |Committed | +-----------------------------+-----------------------------+ |MT-Level |MT-Safe | +-----------------------------+-----------------------------+ |Standard |See standards(5). | +-----------------------------+-----------------------------+ SEE ALSO
posix_madvise(3C), attributes(5), standards(5) SunOS 5.11 14 Jul 2008 posix_fadvise(3C)
All times are GMT -4. The time now is 03:45 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy