Jump to content

Kevin Brannigan

Members
  • Posts

    3
  • Joined

  • Last visited

  1. to add to Calin's comment above, depending on which distro and what . where you have things mounted you can just set the path. from the command line just type mount here you can see a list of what is mounted where, you can also see , and add to /et/fstab , which handles mounts on boot etc.. <LowHDDSpace Enabled="true"> <Hdd Percentage="20" Path="/mnt/remote_server" Enabled="true" /> </LowHDDSpace> @Calin Can you monitor by size_remaining and not % also ? 20% of 1tb is still pretty large, but in other machines I have 150gb, therefore 20% would be fine, and I don't want to have to set 2%, just to cover the 1tb disks. I would prefer to set remaining space,
  2. service and chkconfig allow you to add services (depending on on the flavour and kernel version) init.d or systemd on fedora its /etc/init.d/pcmonitor.redhat start stop restart take a look at http://fedoraproject.org/wiki/SysVinit_to_Systemd_Cheatsheet
  3. I was deploying the agents to a very large amount of linux clients (various flavours), we have a chef infrastructure in place so decided to leverage this. I have created a cookbook that gets the latest download .deb or .rpm and install it and configures the config.xml. You can use chef to set all the various options via attributes. feel free to use https://github.com/py-man/chef-pcmonitor and modify. cheers
×
×
  • Create New...