Comments (3)
Hi,
please try
procstat:
- pattern: "nginx"
pid_tag: true
- pattern: "php.*-fpm"
pid_tag: true
from puppet-telegraf.
I had a look at the mentioned template file. line 35 is related to outputs, not inputs.
so I further looked at our output declaration:
outputs => {
'influxdb' => [
{
'urls' => [ "http://influxdb.ourdomain.exmpl:8086" ],
'database' => 'telegraf',
'username' => 'telegraf',
'password' => 'metricsmetricsmetrics',
'retention_policy' => '',
'write_consistency' => 'any',
'timeout' => '20s',
}
]
},
this seems rather basic to me. (we only added the last three parameters and do only use one influxdb url)
from puppet-telegraf.
update:
after I added those squared brackets the issue at line 35 of the template was fixed, next issue is at line 55:
Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Evaluation Error: Error while evaluating a Function Call, Failed to parse template telegraf/telegraf.conf.erb:
Filepath: /etc/puppetlabs/code/environments/production/modules/telegraf/templates/telegraf.conf.erb
Line: 55
Detail: undefined method `each' for nil:NilClass
at /etc/puppetlabs/code/environments/production/modules/telegraf/manifests/config.pp:12:18 on node $SERVERNAME
after going through all the hieradata and profiles and adding that extra layer (as shown for the nginx input in the README.md) puppet ran without error. thanks
from puppet-telegraf.
Related Issues (20)
- [question] Are you open to using inifile instead of toml-rb? HOT 6
- org.jruby.exceptions.RaiseException: (LoadError) no such file to load -- toml-rb HOT 2
- Unable able to install previous versions of the module HOT 1
- Is there a way to set up multiple discreet influxdb outputs? HOT 1
- Broken $hostname default value when fact['networking'] is null HOT 1
- Problem with defining win_perf_counters input HOT 1
- Minor: Please fix the (>=5.0.0 < 7.0.0) to (>= 5.0.0 < 7.0.0) in the metadata for dependencies HOT 3
- Cannot install telegraf on Windows server because config_file_mode and config_folder_mode is undefined
- NO_PUBKEY on Ubuntu | Key has changed HOT 1
- No longer possible to configure tagpass and tagdrop HOT 1
- Release a new version with #160 included HOT 1
- Cannot use multifile plugin
- Correct hiera Syntax for telegraf::processors (with pull request #139) HOT 1
- new forge release to pickup metadata.json changes
- onceover test fail cannot load such file -- toml-rb
- InfluxData GPG key rotation
- Installs from influxdata repo can use stable repos
- telegraf user on debian now has _
- Add creates parameter to all archive resources
- Overly strict version constraint on puppetlabs-stdlib
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from puppet-telegraf.