-
Posts
3 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Posts posted by Kevin Brannigan
-
-
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
-
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
Â
Â
monitor Mount Points
in Linux
Posted
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,