Dirk As a suggestion how about using the friendly name as the graph name.rrd
This would ease identity of lots of rrd files and simplify integration with ddraw. Another idea would to put rrd files in subdirectories based on the group name Dave -----Original Message----- From: "Dirk Bulinckx"<[EMAIL PROTECTED]> Sent: 8/19/05 5:57:46 PM To: "[email protected]"<[email protected]> Subject: RE: [SA-list] Generate graphs of up and downtime I'm working on it as we speak :-) It will be available (in beta) when it's ready...I think it will be in the next few days. Dirk. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rowland,David Sent: Friday, August 19, 2005 5:47 PM To: [email protected] Subject: RE: [SA-list] Generate graphs of up and downtime Dirk When will the version with updated rrd be available. Also the snmp mod you made for me is workong fine Thanks Dave -----Original Message----- From: "Dirk Bulinckx"<[EMAIL PROTECTED]> Sent: 8/19/05 8:54:55 AM To: "[email protected]"<[email protected]> Subject: RE: [SA-list] Generate graphs of up and downtime An update script is basic "just" going to add new data to a existing database file. Within the update script we do not point to any DS within the database, only to the database. The update script can not be altered. The problem with the spaces in the path, we know about that. This is something that is already fixed in the latest beta builds. Also (just so you know) we're working on several smallish but usefull extensions of the RRD part of Servers Alive. For example SA HTML tags for the graphs, SA HTML tags that can be used within an CASE/IF to see IF RRD is used for that entry. The default CREATE script will propose an "options line" that enables the creation of graphs that are not only for the past hour, but also day/week/month/year. The graph script will by default then also include the commands to create day/week/month/year graphs. The RRD database and the graphs can be in different directories, even per graph type you can have a different directory. All little things that will make the RRD integration a bit better... Dirk. _____ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Fladsrud Tom Sent: Friday, August 19, 2005 9:35 AM To: [email protected] Subject: RE: [SA-list] Generate graphs of up and downtime I have now been able to create graphs, my problem was that the path to rrdtools included space. This resulted in an error when running the update script, and the databases and graphs where then never updated with new values. For creating graphs with Servers Alive and rrdtool, I run the following command when creating the CREATE script in Servers Alive (Setup-> Logging -> RRDTools ) : -s 120 DS:stats_uptime:DERIVE:720:0:U RRA:AVERAGE:0.5:1:21600 This will create databases for each server of the uptime of each server. What I want is the uptime for each server over a period of a month. I want to collect data every other minute. Is this a correct command to use? Is the stats_uptime the right DS to get the time a server has status up? I have altered the graph script to be as follows: rrdtool.exe graph month_sa_1.png --start now-31d --end now --imgformat PNG --title="Uptime on server xxx" DEF:sa_2=sa_2.rrd:stats_uptime:AVERAGE LINE1:sa_2#0000FF:"Up Time" The update scripts are created automatically by Servers Alive. Will the update script fetch the right data (stats_uptime) ? And if not, is there any way to alter the automatically created update script? Tom -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dirk Bulinckx Sent: 15. august 2005 03:05 To: [email protected] Subject: RE: [SA-list] Generate graphs of up and downtime The GRAPH script is created once (when you push the button to create it :-)) and from that point on we execute it. So if you change the existing BAT file (sa_create_graph.bat) you can do anything you want with it. Dirk. _____ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Fladsrud Tom Sent: Friday, August 12, 2005 2:53 PM To: [email protected] Subject: [SA-list] Generate graphs of up and downtime I am new to using the RRDTools, and I want to generate graphs of up and downtime of servers. I want to display the sum of the downtime of all servers each day, and the sum of the downtime of all servers for each day for the last month using the graph method in RRDTools. I want to display this in the same graph. Using the build-in feature in Servers Alive (File->Setup->Logging->RRDTools->"Generate CREATE script"- button) I am able to alter the standard CREATE script to what I want. However I am not able to alter the GRAPH script. And my first question is: 1) Is it possible to alter both the graph and create script in Servers Alive, or to I have to build the graph script separately? By using the create script below a bat file that generates several rrd files (This script may have several flaws): rrdtool create Graph/filename --start now-30d --step 60 DS:stats_uptime:DERIVE:1000000:U:U DS:stats_downtime:DERIVE:1000000:U:U RRA:AVERAGE:0.5:60:744 My second, and most important question is then: 2) How do I summarize the downtime and uptime of servers, and display this in one graph? There are four statuses I eventually want to display : up, down, unavailable and maintenance I am able to display the header and vertical label that I want, but that's about it.. I would appreciate any help I can get on this subject Best regards Tom Fladsrud This mail has been scanned by Network Associates Webshield Appliance INode 2 Disclaimer This communication is confidential and intended solely for the use of the individuals to whom it is addressed. Any views or opinions expressed are those of the author and do not necessarily represent those of Allied Bakeries - a division of ABF Grain Products Ltd. If you are not the intended recipient, be advised that you have received this communication in error and that any use, dissemination, forwarding, printing or copying of the contents is strictly prohibited. If you have received this communication in error, please notify Allied Bakeries Response Centre on Freephone 0800 374684 or reply to [EMAIL PROTECTED] This email has been scanned by Network Associates Webshield Appliance ONode 2 ------------------------- [This E-mail scanned for viruses by Declude Virus] To unsubscribe from a list, send a mail message to [EMAIL PROTECTED] With the following in the body of the message: unsubscribe SAlive ------------------------- [This E-mail scanned for viruses by Declude Virus] To unsubscribe from a list, send a mail message to [EMAIL PROTECTED] With the following in the body of the message: unsubscribe SAlive This mail has been scanned by Network Associates Webshield Appliance INode 2 Disclaimer This communication is confidential and intended solely for the use of the individuals to whom it is addressed. Any views or opinions expressed are those of the author and do not necessarily represent those of Allied Bakeries - a division of ABF Grain Products Ltd. If you are not the intended recipient, be advised that you have received this communication in error and that any use, dissemination, forwarding, printing or copying of the contents is strictly prohibited. If you have received this communication in error, please notify Allied Bakeries Response Centre on Freephone 0800 374684 or reply to [EMAIL PROTECTED] This email has been scanned by Network Associates Webshield Appliance ONode 2 To unsubscribe from a list, send a mail message to [EMAIL PROTECTED] With the following in the body of the message: unsubscribe SAlive
