Project

General

Profile

« Previous | Next » 

Revision f1c252cf

Added by N0YB almost 12 years ago

3652 days worth is a too much. Scale it back to more reasonable 1.25 x maximum used data (2284 days).

View differences:

etc/inc/rrd.inc
328 328
				$rrdcreate .= "RRA:AVERAGE:0.5:1:1200 ";
329 329
				$rrdcreate .= "RRA:AVERAGE:0.5:5:720 ";
330 330
				$rrdcreate .= "RRA:AVERAGE:0.5:60:1860 ";
331
				$rrdcreate .= "RRA:AVERAGE:0.5:1440:3652 ";
331
				$rrdcreate .= "RRA:AVERAGE:0.5:1440:2284 ";
332 332

  
333 333
				create_new_rrd($rrdcreate);
334 334
				unset($rrdcreate);
......
361 361
				$rrdcreate .= "RRA:AVERAGE:0.5:1:1200 ";
362 362
				$rrdcreate .= "RRA:AVERAGE:0.5:5:720 ";
363 363
				$rrdcreate .= "RRA:AVERAGE:0.5:60:1860 ";
364
				$rrdcreate .= "RRA:AVERAGE:0.5:1440:3652 ";
364
				$rrdcreate .= "RRA:AVERAGE:0.5:1440:2284 ";
365 365

  
366 366
				create_new_rrd($rrdcreate);
367 367
				unset($rrdcreate);
......
390 390
					$rrdcreate .= "RRA:AVERAGE:0.5:1:1200 ";
391 391
					$rrdcreate .= "RRA:AVERAGE:0.5:5:720 ";
392 392
					$rrdcreate .= "RRA:AVERAGE:0.5:60:1860 ";
393
					$rrdcreate .= "RRA:AVERAGE:0.5:1440:3652 ";
393
					$rrdcreate .= "RRA:AVERAGE:0.5:1440:2284 ";
394 394

  
395 395
					create_new_rrd($rrdcreate);
396 396
					unset($rrdcreate);
......
415 415
					$rrdcreate .= "RRA:AVERAGE:0.5:1:1200 ";
416 416
					$rrdcreate .= "RRA:AVERAGE:0.5:5:720 ";
417 417
					$rrdcreate .= "RRA:AVERAGE:0.5:60:1860 ";
418
					$rrdcreate .= "RRA:AVERAGE:0.5:1440:3652 ";
418
					$rrdcreate .= "RRA:AVERAGE:0.5:1440:2284 ";
419 419

  
420 420
					create_new_rrd($rrdcreate);
421 421
					unset($rrdcreate);
......
481 481
					$rrdcreate .= "RRA:AVERAGE:0.5:1:1200 ";
482 482
					$rrdcreate .= "RRA:AVERAGE:0.5:5:720 ";
483 483
					$rrdcreate .= "RRA:AVERAGE:0.5:60:1860 ";
484
					$rrdcreate .= "RRA:AVERAGE:0.5:1440:3652 ";
484
					$rrdcreate .= "RRA:AVERAGE:0.5:1440:2284 ";
485 485

  
486 486
					create_new_rrd($rrdcreate);
487 487
					unset($rrdcreate);
......
498 498
					$rrdcreate .= "RRA:AVERAGE:0.5:1:1200 ";
499 499
					$rrdcreate .= "RRA:AVERAGE:0.5:5:720 ";
500 500
					$rrdcreate .= "RRA:AVERAGE:0.5:60:1860 ";
501
					$rrdcreate .= "RRA:AVERAGE:0.5:1440:3652 ";
501
					$rrdcreate .= "RRA:AVERAGE:0.5:1440:2284 ";
502 502

  
503 503
					create_new_rrd($rrdcreate);
504 504
					unset($rrdcreate);
......
566 566
					$rrdcreate .= "RRA:AVERAGE:0.5:1:1200 ";
567 567
					$rrdcreate .= "RRA:AVERAGE:0.5:5:720 ";
568 568
					$rrdcreate .= "RRA:AVERAGE:0.5:60:1860 ";
569
					$rrdcreate .= "RRA:AVERAGE:0.5:1440:3652 ";
569
					$rrdcreate .= "RRA:AVERAGE:0.5:1440:2284 ";
570 570
					create_new_rrd($rrdcreate);
571 571
					unset($rrdcreate);
572 572
				}
......
599 599
			$rrdcreate .= "RRA:AVERAGE:0.5:1:1200 ";
600 600
			$rrdcreate .= "RRA:AVERAGE:0.5:5:720 ";
601 601
			$rrdcreate .= "RRA:AVERAGE:0.5:60:1860 ";
602
			$rrdcreate .= "RRA:AVERAGE:0.5:1440:3652 ";
602
			$rrdcreate .= "RRA:AVERAGE:0.5:1440:2284 ";
603 603

  
604 604
			create_new_rrd($rrdcreate);
605 605
			unset($rrdcreate);
......
634 634
			$rrdcreate .= "RRA:AVERAGE:0.5:1:1200 ";
635 635
			$rrdcreate .= "RRA:AVERAGE:0.5:5:720 ";
636 636
			$rrdcreate .= "RRA:AVERAGE:0.5:60:1860 ";
637
			$rrdcreate .= "RRA:AVERAGE:0.5:1440:3652 ";
637
			$rrdcreate .= "RRA:AVERAGE:0.5:1440:2284 ";
638 638

  
639 639
			create_new_rrd($rrdcreate);
640 640
			unset($rrdcreate);
......
664 664
			$rrdcreate .= "RRA:MIN:0.5:1:1200 ";
665 665
			$rrdcreate .= "RRA:MIN:0.5:5:720 ";
666 666
			$rrdcreate .= "RRA:MIN:0.5:60:1860 ";
667
			$rrdcreate .= "RRA:MIN:0.5:1440:3652 ";
667
			$rrdcreate .= "RRA:MIN:0.5:1440:2284 ";
668 668
			$rrdcreate .= "RRA:AVERAGE:0.5:1:1200 ";
669 669
			$rrdcreate .= "RRA:AVERAGE:0.5:5:720 ";
670 670
			$rrdcreate .= "RRA:AVERAGE:0.5:60:1860 ";
671
			$rrdcreate .= "RRA:AVERAGE:0.5:1440:3652 ";
671
			$rrdcreate .= "RRA:AVERAGE:0.5:1440:2284 ";
672 672
			$rrdcreate .= "RRA:MAX:0.5:1:1200 ";
673 673
			$rrdcreate .= "RRA:MAX:0.5:5:720 ";
674 674
			$rrdcreate .= "RRA:MAX:0.5:60:1860 ";
675
			$rrdcreate .= "RRA:MAX:0.5:1440:3652";
675
			$rrdcreate .= "RRA:MAX:0.5:1440:2284";
676 676

  
677 677
			create_new_rrd($rrdcreate);
678 678
			unset($rrdcreate);
......
701 701
			$rrdcreate .= "RRA:MIN:0.5:1:1200 ";
702 702
			$rrdcreate .= "RRA:MIN:0.5:5:720 ";
703 703
			$rrdcreate .= "RRA:MIN:0.5:60:1860 ";
704
			$rrdcreate .= "RRA:MIN:0.5:1440:3652 ";
704
			$rrdcreate .= "RRA:MIN:0.5:1440:2284 ";
705 705
			$rrdcreate .= "RRA:AVERAGE:0.5:1:1200 ";
706 706
			$rrdcreate .= "RRA:AVERAGE:0.5:5:720 ";
707 707
			$rrdcreate .= "RRA:AVERAGE:0.5:60:1860 ";
708
			$rrdcreate .= "RRA:AVERAGE:0.5:1440:3652 ";
708
			$rrdcreate .= "RRA:AVERAGE:0.5:1440:2284 ";
709 709
			$rrdcreate .= "RRA:MAX:0.5:1:1200 ";
710 710
			$rrdcreate .= "RRA:MAX:0.5:5:720 ";
711 711
			$rrdcreate .= "RRA:MAX:0.5:60:1860 ";
712
			$rrdcreate .= "RRA:MAX:0.5:1440:3652";
712
			$rrdcreate .= "RRA:MAX:0.5:1440:2284";
713 713

  
714 714
			create_new_rrd($rrdcreate);
715 715
			unset($rrdcreate);
......
738 738
				$rrdcreate .= "RRA:MIN:0.5:1:1200 ";
739 739
				$rrdcreate .= "RRA:MIN:0.5:5:720 ";
740 740
				$rrdcreate .= "RRA:MIN:0.5:60:1860 ";
741
				$rrdcreate .= "RRA:MIN:0.5:1440:3652 ";
741
				$rrdcreate .= "RRA:MIN:0.5:1440:2284 ";
742 742
				$rrdcreate .= "RRA:AVERAGE:0.5:1:1200 ";
743 743
				$rrdcreate .= "RRA:AVERAGE:0.5:5:720 ";
744 744
				$rrdcreate .= "RRA:AVERAGE:0.5:60:1860 ";
745
				$rrdcreate .= "RRA:AVERAGE:0.5:1440:3652 ";
745
				$rrdcreate .= "RRA:AVERAGE:0.5:1440:2284 ";
746 746
				$rrdcreate .= "RRA:MAX:0.5:1:1200 ";
747 747
				$rrdcreate .= "RRA:MAX:0.5:5:720 ";
748 748
				$rrdcreate .= "RRA:MAX:0.5:60:1860 ";
749
				$rrdcreate .= "RRA:MAX:0.5:1440:3652 ";
749
				$rrdcreate .= "RRA:MAX:0.5:1440:2284 ";
750 750

  
751 751
				create_new_rrd($rrdcreate);
752 752
				unset($rrdcreate);
......
774 774
					$rrdcreate .= "RRA:AVERAGE:0.5:1:1200 ";
775 775
					$rrdcreate .= "RRA:AVERAGE:0.5:5:720 ";
776 776
					$rrdcreate .= "RRA:AVERAGE:0.5:60:1860 ";
777
					$rrdcreate .= "RRA:AVERAGE:0.5:1440:3652 ";
777
					$rrdcreate .= "RRA:AVERAGE:0.5:1440:2284 ";
778 778
					$rrdcreate .= "RRA:MIN:0.5:1:1200 ";
779 779
					$rrdcreate .= "RRA:MIN:0.5:5:720 ";
780 780
					$rrdcreate .= "RRA:MIN:0.5:60:1860 ";
781
					$rrdcreate .= "RRA:MIN:0.5:1440:3652 ";
781
					$rrdcreate .= "RRA:MIN:0.5:1440:2284 ";
782 782
					$rrdcreate .= "RRA:MAX:0.5:1:1200 ";
783 783
					$rrdcreate .= "RRA:MAX:0.5:5:720 ";
784 784
					$rrdcreate .= "RRA:MAX:0.5:60:1860 ";
785
					$rrdcreate .= "RRA:MAX:0.5:1440:3652 ";
785
					$rrdcreate .= "RRA:MAX:0.5:1440:2284 ";
786 786
					$rrdcreate .= "RRA:LAST:0.5:1:1200 ";
787 787
					$rrdcreate .= "RRA:LAST:0.5:5:720 ";
788 788
					$rrdcreate .= "RRA:LAST:0.5:60:1860 ";
789
					$rrdcreate .= "RRA:LAST:0.5:1440:3652 ";
789
					$rrdcreate .= "RRA:LAST:0.5:1440:2284 ";
790 790

  
791 791
					create_new_rrd($rrdcreate);
792 792
					unset($rrdcreate);
......
810 810
					$rrdcreate .= "RRA:AVERAGE:0.5:1:1200 ";
811 811
					$rrdcreate .= "RRA:AVERAGE:0.5:5:720 ";
812 812
					$rrdcreate .= "RRA:AVERAGE:0.5:60:1860 ";
813
					$rrdcreate .= "RRA:AVERAGE:0.5:1440:3652 ";
813
					$rrdcreate .= "RRA:AVERAGE:0.5:1440:2284 ";
814 814
					$rrdcreate .= "RRA:MIN:0.5:1:1200 ";
815 815
					$rrdcreate .= "RRA:MIN:0.5:5:720 ";
816 816
					$rrdcreate .= "RRA:MIN:0.5:60:1860 ";
817
					$rrdcreate .= "RRA:MIN:0.5:1440:3652 ";
817
					$rrdcreate .= "RRA:MIN:0.5:1440:2284 ";
818 818
					$rrdcreate .= "RRA:MAX:0.5:1:1200 ";
819 819
					$rrdcreate .= "RRA:MAX:0.5:5:720 ";
820 820
					$rrdcreate .= "RRA:MAX:0.5:60:1860 ";
821
					$rrdcreate .= "RRA:MAX:0.5:1440:3652 ";
821
					$rrdcreate .= "RRA:MAX:0.5:1440:2284 ";
822 822
					$rrdcreate .= "RRA:LAST:0.5:1:1200 ";
823 823
					$rrdcreate .= "RRA:LAST:0.5:5:720 ";
824 824
					$rrdcreate .= "RRA:LAST:0.5:60:1860 ";
825
					$rrdcreate .= "RRA:LAST:0.5:1440:3652 ";
825
					$rrdcreate .= "RRA:LAST:0.5:1440:2284 ";
826 826

  
827 827
					create_new_rrd($rrdcreate);
828 828
					unset($rrdcreate);
usr/local/www/status_rrd_graph_img.php
99 99
$archives[1] = 1200;
100 100
$archives[5] = 720;
101 101
$archives[60] = 1860;
102
$archives[1440] = 3652;
102
$archives[1440] = 2284;
103 103

  
104 104
$defOptions = array(
105 105
	'to' => 1,

Also available in: Unified diff