|
|||||||
| Registrieren | Hilfe | Benutzerliste | Interessengemeinschaften | Kalender | Suchen | Heutige Beiträge | Alle Foren als gelesen markieren |
![]() |
|
|
LinkBack | Themen-Optionen | Ansicht |
|
#1
|
|||
|
|||
|
Hi,
kennt jemand ein Programm, welches sich einfach über den Paketmanager von Debian installieren lässt und mit welchem ich die Systemauslastung (CPU, RAM) über einen Zeitraum anzeigen lassen kann? Am besten noch im Bezug auf einzelne Websites. Es ist mir wichtig, dass es wirklich einfach benutzbar ist und man möglichst wenig in den Configs tüffteln muss. Liebe Grüße, pee
__________________
"A few minutes of manual reading, can save hours of try and error" - die offizielle ISPC Dokumentation: http://ispc-wiki.org |
|
#2
|
|||
|
|||
|
Ich kann Dir da munin empfehlen:
http://www.howtoforge.com/server-mon...n-debian-lenny Ist auch ganz einfach zu installieren. Das ist aber nur für ein globales monitoring geeignet, ein Tool welches das nach einzelnen Wesbeiten machen kann ist mir nicht bekannt. |
|
#3
|
|||
|
|||
|
Habe Munin laut der Anleitung installiert. Also innerhalb eines bestehenden Webs einen Ordner für Munin angelegt, damit ich diesen über eine Domain aufrufen kann. Allerdings bleibt der auch nach einigen Minuten Ordner leer. In der munin-node.log steht auch nicht sonderlich viel:
Code:
Process Backgrounded 2 2011/02/14-22:11:08 MyPackage (type Net::Server::Fork) starting! pid(15022) 3 Binding to TCP port 4949 on host * 4 2011/02/14-22:15:02 CONNECT TCP Peer: "127.0.0.1:43562" Local: "127.0.0.1:49 49" 5 2011/02/14-22:15:23 Server closing! 6 Process Backgrounded 7 2011/02/14-22:15:23 MyPackage (type Net::Server::Fork) starting! pid(15433) 8 Binding to TCP port 4949 on host * 9 2011/02/14-22:20:01 CONNECT TCP Peer: "127.0.0.1:52969" Local: "127.0.0.1:49 49"
__________________
"A few minutes of manual reading, can save hours of try and error" - die offizielle ISPC Dokumentation: http://ispc-wiki.org |
|
#4
|
|||
|
|||
|
Überprüf nochmal, ob der Ordner wirklich dem muniun user gehört und dass Du munin auch neu gestaret hast nach der config änderung. Dann warte etwas länger.
|
|
#5
|
|||
|
|||
|
Der Ordner gehört Munin
Code:
drwxrwxrwx 2 munin munin 4096 Feb 14 22:14 monitoring Code:
# The next three variables specifies where the location of the RRD # databases, the HTML output, and the logs, severally. They all # must be writable by the user running munin-cron. dbdir /var/lib/munin htmldir /var/www/clients/client2/web3/web/monitoring logdir /var/log/munin rundir /var/run/munin Sollte also nichts vorhanden sein, was Munin behindert, oder?
__________________
"A few minutes of manual reading, can save hours of try and error" - die offizielle ISPC Dokumentation: http://ispc-wiki.org |
|
#6
|
|||
|
|||
|
Mutt meldet zudem, dass der Munin-Cron schon mehrere Male durchlief:
Code:
1 N F Feb 14 To root@... ( 4) Cron <munin@...> if [ -x /usr/bin/munin-cron ]; then /usr/bin/munin-cron; fi 2 N F Feb 14 To root@... ( 4) Cron <munin@...> if [ -x /usr/bin/munin-cron ]; then /usr/bin/munin-cron; fi 3 N F Feb 14 To root@... ( 4) Cron <munin@...> if [ -x /usr/bin/munin-cron ]; then /usr/bin/munin-cron; fi ![]()
__________________
"A few minutes of manual reading, can save hours of try and error" - die offizielle ISPC Dokumentation: http://ispc-wiki.org |
|
#7
|
|||
|
|||
|
Über Nacht immer noch nichts im Monitoring-Ordner. Soviel zu Munin und »einfach«.
Ich habe das Problem, dass mir der Arbeitsspeicher auf dem Server gestern und heute offenbar voll gelaufen ist. Der Server lies keinen Connect mehr zu, nach dem Restart ging wieder alles. Ein Mitarbeiter vom Rechenzentrum, dass dies in 99% der Fälle eben ein Volllaufen des Arbeitsspeichers ist. Ich würde gerne wissen, was den Arbeitsspeicher lähmt und wie ich das verhindern kann.
__________________
"A few minutes of manual reading, can save hours of try and error" - die offizielle ISPC Dokumentation: http://ispc-wiki.org Geändert von pee (15.02.2011 um 15:42 Uhr). |
|
#8
|
|||
|
|||
|
Poste bitte mal die vollständige Datei /etc/munin/munin.conf
|
|
#9
|
|||
|
|||
|
Also ich habe mir munin am WE auf dem Server eingerichtet und es funktioniert problemlos.
Bin wie folgt vorgegangen: 1. In ISPc3 eine eigene Domain und Web (munin.MEINEDOMAIN.DE) eingerichtet, 2. in der Muininkonfiguration (/etc/munin/plugin-conf/munin.node) den Pfad zum htmldir geändert (/var/www/clients/clientX/webY/web), 3. die Benutzerberechtigungen geändert (chmod munin:munin -R /var/www/clients/clientX/webY/web && chmod 755 -R /var/www/clients/clientX/webY/web), 4. den Benutzer munin der Gruppe www-data und den Benutzer clientX der Gruppe munin hinzugefügt (adduser munin www-data && adduser clientX munin) und 5. da es dann noch nicht ganz funktionierte den webuser der Gruppe munin hinzugefügt (adduser webY munin). Hoffe ich habe keinen Schritt vergessen (habe die Quellen gerade nicht zur Hand), aber so funktioniert es bei mir - vor allem als eigenes Web mit entsprechend eigenen Traffic- und Quotabeschränkungen. Kommt denn physikalisch was in deinem Ordner an oder liegt es z.b. wirklich an den Rechten? Den Dienst hast du auch neu gestartet (/etc/init.d/munin-node restart)? |
|
#10
|
|||
|
|||
|
Code:
# Example configuration file for Munin, generated by 'make build' # The next three variables specifies where the location of the RRD # databases, the HTML output, and the logs, severally. They all # must be writable by the user running munin-cron. dbdir /var/lib/munin htmldir /var/www/clients/client2/web3/web/monitoring logdir /var/log/munin rundir /var/run/munin # Where to look for the HTML templates tmpldir /etc/munin/templates # Make graphs show values per minute instead of per second #graph_period minute # Graphics files are normaly generated by munin-graph, no matter if # the graphs are used or not. You can change this to # on-demand-graphing by following the instructions in # http://munin.projects.linpro.no/wiki/CgiHowto # #graph_strategy cgi # Drop somejuser@fnord.comm and anotheruser@blibb.comm an email everytime # something changes (OK -> WARNING, CRITICAL -> OK, etc) #contact.someuser.command mail -s "Munin notification" somejuser@fnord.comm #contact.anotheruser.command mail -s "Munin notification" anotheruser@blibb.comm # # For those with Nagios, the following might come in handy. In addition, # the services must be defined in the Nagios server as well. #contact.nagios.command /usr/sbin/send_nsca -H nagios.host.com -c /etc/send_nsca.cfg # a simple host tree [server1.MEINE-DOMAIN.de] address 127.0.0.1 use_node_name yes # # A more complex example of a host tree # ## First our "normal" host. # [fii.foo.com] # address foo # ## Then our other host... # [fay.foo.com] # address fay # ## Then we want totals... # [foo.com;Totals] #Force it into the "foo.com"-domain... # update no # Turn off data-fetching for this "host". # # # The graph "load1". We want to see the loads of both machines... # # "fii=fii.foo.com:load.load" means "label=machine:graph.field" # load1.graph_title Loads side by side # load1.graph_order fii=fii.foo.com:load.load fay=fay.foo.com:load.load # # # The graph "load2". Now we want them stacked on top of each other. # load2.graph_title Loads on top of each other # load2.dummy_field.stack fii=fii.foo.com:load.load fay=fay.foo.com:load.load # load2.dummy_field.draw AREA # We want area instead the default LINE2. # load2.dummy_field.label dummy # This is needed. Silly, really. # # # The graph "load3". Now we want them summarised into one field # load3.graph_title Loads summarised # load3.combined_loads.sum fii.foo.com:load.load fay.foo.com:load.load # load3.combined_loads.label Combined loads # Must be set, as this is # # not a dummy field! # ## ...and on a side note, I want them listen in another order (default is ## alphabetically) # # # Since [foo.com] would be interpreted as a host in the domain "com", we # # specify that this is a domain by adding a semicolon. # [foo.com;] # node_order Totals fii.foo.com fay.foo.com #
__________________
"A few minutes of manual reading, can save hours of try and error" - die offizielle ISPC Dokumentation: http://ispc-wiki.org |
![]() |
| Themen-Optionen | |
| Ansicht | |
|
|
Alle Zeitangaben in WEZ +2. Es ist jetzt 22:30 Uhr.











Linear-Darstellung
