Notification email from OSX Root

Discussion in 'Mac OS X Server, Xserve, and Networking' started by zerassar, Oct 29, 2009.

  1. zerassar macrumors newbie

    Aug 25, 2009
    Hey everyone.

    I get these notification emails from our OSX server regarding disk usage. I want to modify how these notifications are made and where they are sent but I have yet been unable to find the options.

    I have tried RAID admin, server admin, ical and disk util.

    It is addressed from not system admin which most of the other email options i have found mention.

    Subject: Disk Full Notification for XServe RAID 1TB on sydneyosxsvr.local (7.91%XServe RAID 1TBfree)

    Body: The volume XServe RAID 1TB on sydneyosxsvr.local is running out of free space.
    It has only 73.66 GB (7.91%XServe RAID 1TB free.

    Google was not much help. How do i check to see if there is a crontab running these checks? They happen at the same time every day. 1:39 PM
  2. theinstructor macrumors regular


    Jul 13, 2007
    Hmm this is interesting...what version of OS X server are you using? I will look around and see what I can find on my servers.
  3. belvdr macrumors 603

    Aug 15, 2005
    My guess is it is one of the periodic scripts, similar to cron. Check /etc/periodic.
  4. zerassar thread starter macrumors newbie

    Aug 25, 2009
    Thanks for the ideas.

    had checked the cron tabs. I am logged in as administrator and there are no crontabs configured. Should I be logged in as root? Like are there different crontabs based on the active logged in account?

    I had also checked out diskspacemonitor. While promising it was configure to send notifications to the address "admin" and the body of the message was not the same.

    I have checked /etc/periodic and came across the following scripts that did not appear to have anything useful:


    This is really doing my head in. Have looked what feels like everywhere and have not found any help through google and forums thusfar. And everyday I still get the messages taunting me..... Could it be something hardcoded into the XRAID? As far as I know it is administered from the xserve but I do not have much experience with it.
  5. belvdr macrumors 603

    Aug 15, 2005
    It could be. I know some of the array controllers I have used in the past had some intelligence in them. It might be worth a look, but given it is putting in the hostname of the server, I doubt it.

    You can check your entire server for the script:

    sudo find / -type f -exec grep -l -i -e 'Disk Full Notification' {} \;
  6. icrew macrumors member


    Feb 18, 2003
    Found it, I think.

    I have the same thing happening, and did the search suggested above, and got the following results:

    mvp-drm:bin mvpadmin$ sudo find / -xdev -type f -exec grep -l -i -e 'Disk Full Notification' {} \;
    mvp-drm:bin mvpadmin$ 
    /usr/share/servermgrd/bundles/servermgr_info.bundle/Contents/Resources/DiskStatus.plist seems like a bunch of formatting info for the messages that I'm getting.

    The /private/etc/emond.d/rules/DiskStatus.plist and /private/etc/emond.d/rules/DiskStatus.plist.previous files contain the email addresses where the notifications are sent. Looking at this, it's clear that the contents of these two files are being set by the notifications in "Server Monitor." My guess is that it doesn't pick up changes to the configuration from Server Monitor until emond is restarted. (I just did that on my server, so I should be able to let you know tomorrow.)

    Hope this is helpful!
  7. belvdr macrumors 603

    Aug 15, 2005

    Thanks for the update. It will be interesting to hear if restarting emond fixed it.
  8. yamabushi macrumors 65816


    Oct 6, 2003
    Dear Administrator,

    I writing to let you know that the system is all messed up and the users are just making things worse. Please fix me. Thank you.


  9. mcprobie macrumors member


    Nov 16, 2009
    Paradise Corrupt
    Are you guys talking about this ?

    This can be altered in the Workgroup Manager.

    *From the Advanced Server Admin guide provided by Apple.

Share This Page