Closed rodriguezsergio closed 11 years ago
@srodrig0209, can you test with the changes in the pull request to see if they resolve your issue?
Looks like it does.
#
# This file is generated by Chef
# Do not edit, changes will be overwritten
#
LoadPlugin "write_graphite"
<Plugin "write_graphite">
<Carbon>
Prefix "collectd."
StoreRates true
AlwaysAppendDS false
EscapeCharacter "_"
Host "localhost"
Port 2003
</Carbon>
</Plugin>
Not sure why Chef isn't adding the Host and Port fields. I have two roles (base and monitoring) set up with client and server-specific attributes. This is a snippet from the monitoring role.
Which creates the following on my VM
Looking at the logic in 'attribute_driven', it would appear that Host and Port would be inserted along with the attributes I specified in my role, but that's obviously not the case. The logic appears fine, but maybe I'm missing something here...
While, this isn't really a big deal for me since I've alleviated it by adding the two keys to my role, I still think it's something worth checking out/fixing.