Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Troubleshooting issues with Telegraf package?

    Scheduled Pinned Locked Moved pfSense Packages
    3 Posts 1 Posters 1.5k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • V
      victorhooi
      last edited by

      Hi,

      I have a Netgate XG-7100 running 2.4.4-p2.

      I've installed the official Telegraf package, and put in my Telegraf IP address, username and password.

      I then restarted the pfSense device.

      On restart, I checked /var/log/telegraf.log - it contains a single line:

      daemon: process already running, pid: 74273
      

      However, no data appears to be written out yet to the target InfluxDB database.

      Any tips on how to troubleshoot it further?

      1 Reply Last reply Reply Quote 0
      • V
        victorhooi
        last edited by victorhooi

        Aha - I found the issue. I should have read the on-screen help text =).

        In the InfluxDB server field, you need to put the full protocol and port number - you can't just put the IP address (even if it's using the default InfluxDB port).

        That being said - still curious how to debug this - /var/log/telegraf.log still only has a single line. Not sure why nothing is being logged?

        daemon: process already running, pid: 74273
        
        1 Reply Last reply Reply Quote 1
        • V
          victorhooi
          last edited by

          I found one troubleshooting tip based on an earlier post:

          https://forum.netgate.com/topic/129002/telegraf-memory-stats-broken-on-2-4-3

          From CLI on the pfSense box, you can run:

          /usr/local/bin/telegraf -config=/usr/local/etc/telegraf.conf --test
          

          For example:

          [2.4.4-RELEASE][admin@ang-router.localdomain]/root: /usr/local/bin/telegraf -config=/usr/local/etc/telegraf.conf --test
          2019/04/05 04:30:08 E! Error parsing /usr/local/etc/telegraf.conf, line 41: field corresponding to `arguments' is not defined in `*ping.Ping'
          
          1 Reply Last reply Reply Quote 1
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.