Ú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
- BESZÁMÍTÁS! Asus ROG Flow Z13 + ROG XG RTX 3070 - i9 12900H 16GB DDR5 RAM 1TB SSD + RTX 3070 8GB WIN
- BESZÁMÍTÁS! 32GB (2x16) G.Skill Trident Z RGB 6600MHz DDR5 memória garanciával hibátlan működéssel
- Telefon felvásárlás!! iPhone 15/iPhone 15 Plus/iPhone 15 Pro/iPhone 15 Pro Max
- Bomba Ár! Dell Latitude 3190 - Intel N4120 I 4GB I 128GB SSD I 11,6" HD I Cam I W11 I Garancia!
- Telefon felvásárlás!! Apple Watch Series 6/Apple Watch Series 7/Apple Watch Series 8
Állásajánlatok
Cég: PC Trade Systems Kft.
Város: Szeged
Cég: CAMERA-PRO Hungary Kft
Város: Budapest