I need zab_facter.sh script !! On Monday, 18 January 2016 20:13:19 UTC+5:30, Antony Fomenko wrote: > > You can get values from /var/lib/puppet/state/last_run_summary.yaml > We created facts from parsing this yaml and then just getting this fact > with user script. > We use this to get nodes with failures and always running nodes > (nonidepotent). > cat /etc/zabbix/conf.d/zab_puppet.conf > UserParameter=puppet.fact[*],/srv/zabbix/agent/scripts/common/zab_facter.sh > $1 > > cat /srv/zabbix/agent/scripts/common/zab_facter.sh > #!/bin/bash > > sudo facter -p $1 > > Then create item and trigger to read fact. Also you can read this without > facter involved. > > On Thursday, December 10, 2015 at 6:10:24 PM UTC+3, hoize wrote: >> >> Hello! >> >> Is there a way to monitor puppet runs with zabbix? >> Here is what i want to monitor: >> - a host's puppet run is more than 20 minutes ago >> - a puppet run fails >> >> I have searched through the internet, but I only found solutions which >> works with zabbix-sender and my colleagues do not want to install >> zabbix-sender, or to use report-processors which work like zabbix-sender. >> >> I hope someone can help me or maybe someone has a solution he uses.. >> >> Thank you! >> >> Greets >> >
-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/16118392-c4d1-44ec-bbc1-155141a9191eo%40googlegroups.com.