Forums / Suggestions / Monitoring API
Tony Wood
Thursday 31 July 2003 3:35:32 am
Would it be possbile for future version to have a moniting API. This would enable extensions to be written that could display the status of the system.
#Possible info Database check Templates error check Number of users, online and registeredetc
This could be displayed in a tpl for http access or hocked into something like Nagios to enable automated monitoring.
Tony
Tony Wood : twitter.com/tonywood Vision with Technology Experts in eZ Publish consulting & development Power to the Editor! Free eZ Training : http://www.VisionWT.com/training eZ Future Podcast : http://www.VisionWT.com/eZ-Future
Selmah Maxim
Thursday 31 July 2003 3:45:41 am
nice idea ...
also ..
#Possible info Sending msg to the visitor Redirect him to pageSite status (number of users per h/d/w/m/y, best page .. etc)
Friday 01 August 2003 6:57:59 am
After reading your post, i think there are two branches here.
1. A real-time monitoring tool2. A hostoric monitoring tool..
For the second one wonder if a tag into AWSTATS or other type tool is possbile...
Bård Farstad
Friday 01 August 2003 7:51:49 am
We should add this of some sort. We've already added very basic system information, this should be extended to support more information.
What's higest up on your wishlists?
My fav: Class statistics is one. Number of articles, images, users etc.. Also a monthly, yearly breakdown of this. This should be implemented as template functions so they will be available in any template, e.g. like our community stats page here at ez.no.
--bård
Documentation: http://ez.no/doc
Friday 01 August 2003 10:27:33 am
My Fav: I think its got to be users, if a site gets an influx of users then it could affect its performance as they are likely to come back. Class stats are also useful as you can then check for anomalies in documents, users etc.
I think the biggest problem is checking for defacements, as the sites are CMS they can change all the time so normal checks don't work... Still thats one for more thought.
Back to subject, one check that would be nice would be the number of users online... I've seen it put to good use on the Mandrakeclub site where the forum posts not only show the name, number of posts but also if they are online or not.
Wednesday 24 March 2004 2:21:48 pm
Has anyone developed this type of API yet?
-- tony
Thursday 25 March 2004 12:50:13 am
Tony,
we've added database check in 3.4. This will compare the current database with a definition or another database. The GUI is not ready yet, it will be in 3.4.
Thursday 25 March 2004 1:54:44 am
Bard,
Can you please let me know the file name so I can take a look. Is it extendable or will we need to write a new module?Don't worry about the gui, it we be check via an automated tool so just
Database : ok Filesystem : oketc
will be fine.
--tony
Thursday 25 March 2004 2:17:11 am
You can get some more information about this here:http://ez.no/community/blog/database_diff_tool
Jan has made that script to compare the databases based on the library Derick made. We need to add this to the admin now which shows Database: ok. Or the errors which are in the database.
The file is called sqldiff.php.
Friday 26 March 2004 11:05:16 am
Thanks Bard, I think my need is slightly different, I might write a module