Ú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
- Huawei P20 Pro / 6/128GB / Kártyafüggetlen / 12Hó Garancia
- Samsung Galaxy A20e 32GB, Kártyafüggetlen, 1 Év Garanciával
- Új Dell 5330 Latitude 13.3 FHD IPS Touch i5-1235U 4.4Ghz 16GB 512GB Intel Iris XE Win11 Pro Garancia
- Xiaomi Redmi 13 4G 128GB, Kártyafüggetlen, 1 Év Garanciával
- HIBÁTLAN iPhone 14 Pro Max 512GB Silver -1 ÉV GARANCIA - Kártyafüggetlen, 100% Akkumulátor
Állásajánlatok
Cég: ATW Internet Kft.
Város: Budapest
Cég: BroadBit Hungary Kft.
Város: Budakeszi

