Using diskspacemonitor on machines other than osx server

Hi All,
I'm wanting to monitor disk space free on a box I backup to and get emailed a warning if the free % is less than a certain amount.
I have found df and can see it would do the job and would need more help if I was to use this. More about that in another post maybe!
My question for this forum (it may not be the right one) is can the osx server command line app 'diskspacemonitor' be run on the desktop os's? and if so, how?
tia all,
Joe

as you undoubtedly have found, there is no 'diskspacemonitor' in the usual /bin, /sbin, /usr/bin, or /usr/sbin directories, nor is there a "man" page for it, on 10.6.3 client. I guess you'd have to find a copy of it and install it, which may or may not violate apple software licensing agreements.
I'm not sure of the mechanism that you are employing for the file backup, but on the target machine, you could create a launchd job that uses the watchpaths parameter. Just copy one of the com.apple.periodic-*ly.plist files in /System/Library/LaunchDaemons to a nw filename in /Library/LaunchDaemons and use it as a template to edit so that it does what you want. "man launchd.plist" will tell you about the watchpaths parameter - essentially, when a change is sensed in the directory or file specified by that parameter, a script that you specify (conveniently located in a "local" place like /usr/local), that would invoke df, will launch. IF you have enabled Postfix on that box, you could have that script pipe the output of df to the mail or sendmail commands

Similar Messages

  • Customized Tasklist application in any server other than SOA Server

    Hi people,
    I have used a tasklist taskflow in my application, but when I deploy this application to any server other than SOA server, it gives an error saying that there is no connection to SOA server. I have tried to make JNDI connections, but this is not working.
    Can anyone please help?
    Thanks.

    You could always store it in a properties file.
    java.util.Properties
    You could then write your JSP page to load/save the properties file. Hide it under the web-inf directory.
    Alternatively you could put them as environment variables in web.xml. But you would have to edit the file manually to change the details. How often would this change? Would it really be that much of a hassle?
    Good luck,
    evnafets

  • Any problem if we use Business area concept other than Profit Centr

    Hi,
    what are the problems and difficulties if we use Business area concept other than Profit Center.
    Kindly give me brief deatils,,,will assign points
    thanks
    Sap Guru
    kischowdary*gmail.com

    Hi:
    Business area will not be supported by SAP in the future
    The problem of splitting of account balance is more pertinent in case of tax accounts.
    In month end procedures, there are big problem in reconciliation.
    Not Efficient  in Reporting.
    SAP Recommends Profit Center Accounting instead of Business area
    Please let me know if you need more information.
    Assign points if useful.
    Regards
    MSReddy

  • Can I do a back up on a machine other than my home pc?

    Hey all.
    I have a faulty iphone and have an appointment to take it into the apple store this evening, but I forgot to do my backup last night.
    Is it possible to do my backup on a machine other than my home pc?
    I can do one on my mac here at work, but not really sure if its possible to do a back if its not on the machine with all my apps and music.
    Reason being is that if they replace my phone in the store tonight, I would like to be able to reinstall the backup to put my new phone back to the same content thats on my current/old phone (ie. contact numbers, music and app settings and all that stuff)
    Cheers

    Is it possible to do my backup on a machine other than my home pc?
    Yes. But make sure you disable auto sync when an ipod/iphone is connected under preferences in itunes(under the edit menu in windows) BEFORE you do so. Then simply connect your phone, right click in the device pane & select backup. When finished, eject your phone, DO NOT SYNC!
    Itunes places the backups here:
    * Mac: ~/Library/Application Support/MobileSync/Backup/
    * Windows XP: \Documents and Settings\(username)\Application Data\Apple Computer\MobileSync\Backup\
    * Windows Vista and Windows 7: \Users\(username)\AppData\Roaming\Apple Computer\MobileSync\Backup\
    You'll want to copy that folder to its proper location on the computer you normally sync with because after you restore from backup, you MUST sync to restore your itunes content.

  • When I try to burn a disc I get "The disc burner is in use by an application other than iTunes." What to do?

    When I try to burn a disc I get "The disc burner is in use by an application other than iTunes." There are no other applications I am using. What to do?

    Hi, drrandy18. 
    Here are a couple troubleshooting steps that I would recommend.
    Intel-based Macs: Resetting the System Management Controller (SMC)
    http://support.apple.com/kb/HT3964
    About NVRAM and PRAM
    http://support.apple.com/kb/HT1379
    Cheers,
    Jason H..

  • Reply address: is it possible to use another reply address other than the pop address used in my account. I have a special work account and would like to send emails with that address as my reply address...or sent from address

    Reply address: is it possible to use another reply address other than the pop address used in my account. I have a special work account and would like to send emails with that address as my reply address...or sent from address

    i found out how to do this finally!
    1) set up google gmail account to forward your emails to (from the [email protected])
    2) go to your gmail account
    3) go to settings (cog in right hand corner)
    4) go to 'accounts and import'
    5) go to 'send mail as'
    6) click 'Add another email address you own' - add your [email protected] address
    7) google will send a verification email with code to that email address.
    8) enter code
    9) go back to gmail account  >'send mail as' and select 'make default'
    10) close mac 'mail' program and reopen it.
    as long as you have gmail account selected as the primary account in MAIL - mail will now come throught as being sent from that  [email protected] address!!

  • Domain Controlling: Windows XP Machine to Mac OSX Server

    We have a Mac OSX 10.6 Server and it runs our DNS and we want it to serve as a PDC, We are trying to connect a windows computer to it. When setting the windows computer to the specified domain it prompts for the Username and Password which is correctly entered and accepted, however it loads an error afterwards saying "specified domain does not exist or could not be contacted".
    Any idea's? Would this be something to do with an SRV record?
    It is the correct username and password as it definately aithenticates - When we type an incorrect password it tells us that it is incorrect. Also, the network firewall is open.
    Any response appreciated,
    Thanks.

    Hi Guys,
    Here is more info on my SMB configuration, I still can't join a Windows XP machine to OS X Server 10.5.3 PDC. Hope this configuration helps in anyway.
    smb:realm = "GRIDIRON01.OT.GRIDIRONINTERNAL.COM"
    smb:logon drive = "H:"
    smb:logon path = "\\%N\profiles\%u"
    smb:workgroup = "pctopia"
    smb:wins support = yes
    smb:map to guest = "Never"
    smb:enable print services = "yes"
    smb:wins server = emptyarray
    smb:security = "USER"
    smb:server string = "gridiron01"
    smb:ntlm auth = "yes"
    smb:netbios name = "gridiron01"
    smb:max smbd processes = 0
    smb:os level = 65
    smb:preferred master = yes
    smb:add user script = "/usr/bin/opendirectorypdbconfig -c createuseraccount -r %u -n /LDAPv3/127.0.0.1"
    smb:lanman auth = "yes"
    smb:domain logons = yes
    smb:domain master = yes
    smb:use spnego = yes
    smb:use kerberos keytab = yes
    smb:adminCommands:homes = yes
    smb:adminCommands:serverRole = "primarydomaincontroller"
    smb:adminCommands:ldapRole = "1.1 - hosting a master LDAP directory server\n"
    smb:auth methods = "odsam"
    smb:dos charset = "CP437"
    smb:enable disk services = "yes"
    smb:log level = 1
    smb:add machine script = "/usr/bin/opendirectorypdbconfig -c createcomputeraccount -r %u -n /LDAPv3/127.0.0.1"

  • VPN Server solution other than Leopard Server?

    All,
    Does anyone know of any VPN server solutions for Mac OS X other than the basic one included in Leopard Server?
    Regards,
    Ken

    I use the one that comes with Leopard as well as VPNClient from Cisco. I have to use the Cisco one for one connection which requires we use this client.
    You can do a search here - just plug in the search term "VPN" and you'll get a whole bunch of them.
    http://www.versiontracker.com/
    Hope this is helpful.

  • Using a different directory other than /config/domain_name/applications

    Is it possible to configure WLS6.1 to use a directory other than "/config/domain_name/applications"
    as its default application directory.

    Does anyone know if this was fixed, or is it still a problem. Do we really need
    to run our applications from within the bea install/config/domain directory?
    thanks
    Joel
    "Michael Frank" <[email protected]> wrote:
    Ryan, we have been working with the kinds of application setups that
    you
    seem to describe. All through WebLogic 5.1, I have insisted on keeping
    my
    application server directory outside of the BEA WebLogic installation
    directory.
    With 6.1, I have had some success running with the root directory different
    from the home directory. Here is a sample startup sequence, which sets
    the
    startup root to be other than the WebLogic home directory:
    Change to directory: c:\EJC61\wlroot
    WL_HOME: c:\bea\wlserver6.1
    java -Dbea.home=c:\bea -Dweblogic.RootDirectory=c:\EJC61\wlroot
    -Dweblogic.Name=appserver -Djava.security.manager
    -Djava.security.policy==c:\bea\wlserver6.1\lib\weblogic.policy
    -classpath c:\bea\wlserver6.1\lib\weblogic.jar weblogic.Server
    Unfortunately, I recently discovered a problem involving EJB transactions
    that could only be resolved when I moved my domain directory back under
    the
    WL_HOME directory. Basically, I couldn't use transaction=required in
    any
    but the standard directory setup. I have already sent word of this to
    BEA,
    but for the time being, I would suggest that you follow the standard
    setup
    until BEA verifies that they support and have tested alternate directory
    setups.
    "Ryan Planinshek" <[email protected]> wrote in message
    news:[email protected]...
    We have scripts that set up various directory structures on a virtualdrive(based
    on DEV/DEVTEST/PROD etc.) on the fly and I don't want to touch anythingin
    the
    Weblogic home.
    Basically I am just wondering if this "/config/domain_name/applications"directory
    is defined within an XML or some other properties file somewhere...
    "Charlie Crook" <[email protected]> wrote:
    Why would it matter?
    "Ryan Planinshek" <[email protected]> wrote in message
    news:[email protected]...
    Is it possible to configure WLS6.1 to use a directory other than"/config/domain_name/applications"
    as its default application directory.

  • Script won't run on machine w/MAC OSX Server 10.4.9

    Why won't the following script work on a machine that is running MAC OSX Server 10.4.9. On Machines running Mac OS X 10.4.9 it works fine, but on my server machine it won't name the file as per the script--the menu dialog box pops ("save as") up asking for a file name.??
    The only difference between the machines as far as I can tell is the OS.
    Thanks.
    Pedro
    global fileSpec
    tell application "TextEdit"
    activate
    tell application "Finder" to set visible of process "TextEdit" to false
    tell application "Finder"
    set theFileName to "Date.rtf"
    set fileSpec to "Photo [Data]:Archive error LOG:" & theFileName
    end tell
    save document 1 in fileSpec
    tell text of document 1
    set the size to 20
    set the font to "Lucida Grande"
    end tell
    close document 1 saving yes
    end tell
    G5   Mac OS X (10.4.9)  

    Edit: sorry, you should be choosing a folder, not a file. Try this script instead.
    tell application "Finder"
        activate
        set tempy to choose folder
        display dialog ("" & tempy)
    end tell

  • CalDAV client in iCal connecting to something other than iCal Server

    Has anyone attempted to use the CalDav client in Leopard to connect to a CalDav compliant server other than Apple iCal Server? I've tried using a Merak server and it fails while Sunbird connects without a problem. The error I get from iCal is fairly generic...something like "Account information not found"

    Kerio MailServer supports CalDAV.

  • How can I create a line width 0 when using a line style other than solid?

    Every time I select a line style other than solid,
    the line width gets reset to 0. This makes for a
    VERY faint line on the printed output.

    If this question is for the HiQ box, this is not a product that is supported by general technical support Applications Engineers any longer. The help for HiQ is exclusively online, and can be found at http://www.ni.com/support/hiqsupp.htm
    Of course, this question can still be answered by other HiQ users that visit this forum. Please post back if you have any questions. Thanks, and have a great day.
    Daniel McChane
    Application Engineer
    National Instruments

  • Shared Variable VI development on machine other than server

    I'm about to do my first shared variable code, I read the white paper
    http://www.ni.com/white-paper/4679/en
    Something that isn't immediately clear to me is the expected work flow in actually creating ALL the VIs using the shared variables.  I tried creating the project and the variable as per instructions, easy.  But I'm going to have one of those VIs running as the server of the data and one as the client.  Would these be two seperate project files with the same variable name and type?  One project file with seperate builds for server and client executables?
    Actually, SV might not even be the best way to do what I need.
    I have a PXIe machine with a slot 0 controller that has a mux (a pxi-2503) and dmm (pxi-4072) for getting measurements from multiple channels.  Rather than calling via VI server every time I want to grab a measurement I'd rather have an application running waiting on commands.  I was thinking of creating a crude command/acknowledge data avail/acknowledge scheme to synchronize the PXI slot 0 with the client that will be requesting the data, but I can imagine there is probably a more suitable framework that someone else has no doubt tackled?
    I just need to guarantee that the rack takes the measurement when I want it to (ie, after some other action I've triggered the system to perform) and that the data I get back from it is identifiable.
    Ideally, I'd have a MXI controller and this gets really easy but I won't be able to get ahold of one for months if at all so I'm going this route for now.

    Hi Marcus,
    When I drag a shared variable from the project window into the block diagram and then left click it and go to browse, I'm only presented with variables on my local machine to choose from.  If I switch into programmatic access and then go to browse I'm presented with a nice list and am able to browse to the remote shared variables and select it for my constant/control.  This works fine and I'll remember to do this from now on, I just wonder why the two different behaviors.
    I have this working quite well provided I go ahead and start the VI running either with a built exe or through the vi.  As these instruments are going to ultimately be sitting in a headless (no monitor/mouse/keyboard) PXI with slot 0 rack, I am now trying to figure out how to either start these VIs running remotely.  I thought I'd just be able to drop the .exe into a windows scheduled task and have it run on start up.  This works fine but my client VI doesn't communicate.  If I go ahead and log in to the machine I can see the exe running in the Task Manager.  If I kill that exe and start a new one then I'm able to communicate with the VI though with some initially odd behavior, almost as if when I was running it on the client the SVE had changed the states of the variables locally and then when the new process was started it latched those states and causes me to have race-like conditions.  If I then kill that exe and start another one everything is in its expected "default" state and I don't have race like conditions or get into unexpected states.  I can probably add some code on the client side to avoid this weird behavior but I'd rather understand why things aren't working.  My guess is the SVE and other NI processes on the headless box aren't starting properly until I actually log in?

  • Do you have Time Machine in Mac OSX Server 10.6?

    Do you?
    How does it work? Does it back up the data every hour, or is is possible to do it more often?

    Time Machine is variously incompatible with the creation of backups of the Mac OS X Server box itself; while the basic TM configuration might (does?) work, but the advanced configuration won't work. Well, you'll probably get copies of what was once an "advanced" configuration, but whether you can restore and resume use of those can be problematic at best.
    You need take explicit steps to gain consistent and restorable archives of various Mac OS X Server configurations.
    Have a look around the forums for existing discussions of (for instance) shutting off dovecot to get a snapshot of the mail store.

  • Satellite A210 - How to use muldimedia buttons with other than Media Player

    Hi,
    is it really not possible to use the Multimedia Buttons (Play, Pause, FF) on the top of my notebook for another application than the Windows Media Player?
    Is there any reason for this? I would like to control Winamp with this buttons.
    It seems quite sensless to restrict the acces to ONE application of HUNDREDS available, an then this one is the Media Player which is not used by the most people.
    I have the Satellite A210 Notbook.
    Can you tell my how to control my winamp with this buttons?
    Greetings from Robert

    Hello Robert
    Unfortunately there is no solution at the moment. If you check this forum you can find several very interesting threads about multimedia buttons and Winamp player. The fact is that some people have found solution for older notebook models running WXP. Winamp has offered plugin that must be installed.
    Now we have new situation. Your notebook runs newest Vista OS and I didnt find any plugin that can help. Problem is that your notebook is designed for Windows Vista and preinstalled OS contains all necessary plugins for running Windows media player as a part of preinstalled operating system.
    It is no kind of restriction. With preinstalled OS you can do what you want and if you can find a way to change it do this. You know very well that there are hundreds of different players on the market. You cannot expect that Toshiba take a time and create a plugins for all of them and satisfy the customers all over the world.

Maybe you are looking for

  • Made Tri-boot:OSX/OS9.2.2/Ubuntu. How do I get OS9 to be bootable again?

    Situation setup: A friend gave me an iBook 300mhz clamshell to use. I wanted to set it up to dual boot between OSX and OS9, but realized that it was a bit outdated for OSX. So I bought a 466mhz iBook se logic board (will have to dremel out a hole for

  • Overlay Not Rendering

    Anybody know how to render with program display overlays?   Not as a Video effect . Not  through AME. Specifically the program monitor overlay. I want the comment markers,  Source TC, and Program TC.   I've looked everywhere and haven't been able to

  • Can I reinstall Mountain Lion on the same Macbook Pro?

    Hey All- New OS X user, fresh from Windows. I have an OS X 10.8 install dvd that I made after downloading the operating system through the App Store.  On windows, it is necessary to activate a new OS installation each time you reformat the drive-- bu

  • T-Mobile Iphone wont send e-mail

    Hi I have just moved to the USA from Ireland for 12 months and unlocked my Iphone 3GS so i wouldnt have to buy a new phone while here. I am using t-mobile and everything is fine other than the fact that I can't send e-mail. I can receive it no proble

  • Is it possible that we declare new event?

    Can we declare new event? If I want to create my own event for my porpose, is it possible? For example, in C# using event keyword we can create new event mechanism. Is it possible in Java? If it's possible how can I do so? If it's not possible, how c