https://www.puppet.com/community logo
Join Slack
Powered by
# puppet
  • s

    Slackbot

    06/23/2023, 11:56 AM
    This message was deleted.
    v
    • 2
    • 1
  • m

    Marty Ewings

    06/23/2023, 11:56 AM
    of if using PE you can use the now built in agent status check function https://forge.puppet.com/modules/puppetlabs/pe_status_check/readme#fact-agent_status_check
  • m

    Marty Ewings

    06/23/2023, 11:59 AM
    if using puppet open source you could consider applying a custom fact modeled on the PE counterparts: https://github.com/puppetlabs/puppetlabs-pe_status_check/blob/e810875b317b444cd996fa97b7458219cdcf4746/lib/facter/pe_status_check.rb#L113 and https://github.com/puppetlabs/puppetlabs-pe_status_check/blob/e810875b317b444cd996fa97b7458219cdcf4746/lib/facter/pe_status_check.rb#L124 the two facts above check if an agent produced a report in the last runinterval and check if a catalog apply successfully on last puppet run
  • s

    Slackbot

    06/23/2023, 1:47 PM
    This message was deleted.
    y
    s
    r
    • 4
    • 4
  • l

    Lumiere

    06/23/2023, 3:02 PM
    for monitoring puppet agent, I've used a report module to zabbix_send metrics to a zabbix infrastructure
  • l

    Lumiere

    06/23/2023, 3:03 PM
    then the puppet server updates monitoring based on real runs
  • s

    Slackbot

    06/26/2023, 2:43 PM
    This message was deleted.
    c
    • 2
    • 1
  • s

    Slackbot

    06/26/2023, 2:44 PM
    This message was deleted.
    đź’Ş 1
    v
    b
    +5
    • 8
    • 9
  • s

    Slackbot

    06/26/2023, 3:03 PM
    This message was deleted.
    b
    c
    • 3
    • 3
  • s

    Slackbot

    06/26/2023, 3:06 PM
    This message was deleted.
    r
    • 2
    • 1
  • r

    runlolarun

    06/27/2023, 1:02 PM
    How do you guys monitor puppet’s successful runs? Like, how do you something’s failing..? I was going with puppetboard, but it seems to be missing failures and not showing them...
  • b

    bastelfreak

    06/27/2023, 1:07 PM
    we had a similar topic I think last Friday, you should be able to see that in the backlog
  • b

    bastelfreak

    06/27/2023, 1:07 PM
    tl;dr a few options are available. you can check on each node as mentioned above. you can query puppetdb or foreman
  • r

    runlolarun

    06/27/2023, 1:19 PM
    I’m surprised puppetboard is not showing it. I thought that was one of it’s “jobs”.
  • r

    runlolarun

    06/27/2023, 1:20 PM
    I’ve posted about it on #C0W1Y5VL0, but didn’t get any responses.
  • s

    Slackbot

    06/27/2023, 1:20 PM
    This message was deleted.
    v
    b
    +2
    • 5
    • 67
  • b

    bastelfreak

    06/27/2023, 1:20 PM
    that's the key functionality
  • r

    runlolarun

    06/27/2023, 1:20 PM
    like puppetboard wouldn’t notify me, but i’d be able to see if there is a failed puppet run.
  • r

    runlolarun

    06/27/2023, 1:21 PM
    puppet-agent is definitely failing on a server, but it’s not under puppetboard Failures.
  • s

    Slackbot

    06/27/2023, 1:21 PM
    This message was deleted.
    r
    b
    • 3
    • 3
  • b

    bastelfreak

    06/27/2023, 1:21 PM
    didn't it submit any reports maybe?
  • s

    Slackbot

    06/27/2023, 1:22 PM
    This message was deleted.
    Untitled
    r
    k
    • 3
    • 8
  • d

    Dr Bunsen Honeydew

    06/27/2023, 1:45 PM
    fry dancing Content and Tooling is about to start up in #CFD8Z9A4T
  • s

    saz

    06/27/2023, 2:28 PM
    TIL: to properly report if a machine is virtual or not, the
    virt-what
    package is required. Did I miss any hint on that in some README? It's neither a dependency of the
    puppet-agent
    package nor recommended.
  • v

    vchepkov

    06/27/2023, 2:29 PM
    Hmm, we don't have it deployed anywhere and yet facter is correct
  • b

    bastelfreak

    06/27/2023, 2:33 PM
    that should be part of the puppet AIO packages
  • v

    vchepkov

    06/27/2023, 2:34 PM
    Learned something today
    Copy code
    $ rpm -ql puppet-agent|grep virt-what
    /opt/puppetlabs/puppet/bin/virt-what
  • s

    Slackbot

    06/27/2023, 2:37 PM
    This message was deleted.
    a
    • 2
    • 1
  • s

    saz

    06/27/2023, 3:17 PM
    @bastelfreak interesting. It's in there, but facter is unable to find it thinking
  • s

    saz

    06/27/2023, 3:18 PM
    Ha, it's even better: it's happening only on a fresh install. After the first run is complete, it's working.
1...383384385...428Latest