Hostname is not sending to graphite server


#1

Here is my configuration

[/modules]
CheckDisk = enabled
CheckExternalScripts = enabled
CheckHelpers = enabled
CheckNet = enabled
CheckSystem = enabled
GraphiteClient = enabled
Scheduler = enabled


[/settings/graphite/client]
channel = GRAPHITE
hostname=windows

[/settings/graphite/client/targets/default]
address = 192.168.202.128


[/settings/scheduler/schedules/default]
interval = 10s
report = all


[/settings/scheduler/schedules]
cpu=alias_cpu
mem=alias_mem
disk=alias_disk
service=alias_service
channel = GRAPHITE

I want to send windows metrics to Graphite server only. After I start the NSClient++, I captured traffic to see what is sending. It is not sending the hostname which I mentioned in config. I tried with “auto” also.


#2

Which version?

This was fixed recently in 0.5.1 IIRC