Hirdetés

Új hozzászólás Aktív témák

  • GD

    őstag

    válasz Jester01 #215 üzenetére

    köszi!

    Let's see a basic example. Running

    mdadm --monitor --mail=root@localhost --delay=1800 /dev/md2

    should release a mdadm daemon to monitor /dev/md2. The delay parameter means that polling will be done in intervals of 1800 seconds. Finally, critical events and fatal errors should be e-mailed to the system manager. That's RAID monitoring made easy.

    Finally, the --program or --alert parameters specify the program to be run whenever an event is detected.

    Note that the mdadm daemon will never exit once it decides that there are arrays to monitor, so it should normally be run in the background. Remember that your are running a daemon, not a shell command.


    ennyit találtam a monitorozásról, de a mail és a sysmail dolgokra még semmi rálátásom nincs, ergo, fogalmam sincs mitől fogja a localhost-on a root megkapni a mail? procmail?
    továbbá hogy mi kell hozzá és hogy kell konfigolni..


    ezért született a script ötlet..
    persze ha ez egy távoli gép akkor sokkal jobb lenne a mail nyilván nem localhost-ra

    hogy csinálják ez a nagyok?

Új hozzászólás Aktív témák