-
Notifications
You must be signed in to change notification settings - Fork 572
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature request: check_perfmon.exe - Change name of counter in output #5418
Comments
For the perdata there is already a parameter
As mentioned this will only override the counter name in the perfdata. I don't know if it useful to change the name of the counter in the output because then you don't have any clue where those data come from (by only looking on the output). |
@mcktr You name the service so you know what it is, otherwise I need to rewrite it in our dashboard but you still see it when you get an alert from it, look in Icinga GUI or aNag. |
@Stefar77 I get your point, but won't it be useful to use the existing parameter |
True, in my case I would only need one parameter for all. Maybe other people would like the original counter name with " etc but I doubt it, if needed you can wrap it in your script but then you could also rewrite anything.. :-) 👍 |
I don't think that makes sense for check_perfmon. What's the issue with a wrapper script/changing it in the dashboard? |
Here, it's just looking ugly on any dashboard. For this my dashboard could just rewrite it but in aNag and Icinga GUI it doesn't look nice. Also If you rename the name only for Carbon will Icinga still find the counter in Carbon? Btw; this is only for a select amount of machines, most of our Windows hosts are monitored by SCOM and I pull performance data from the DWH. @Crunsher For Nagios my NOC dashboard is 60Kb of poller text rewrites, with Icinga I'm doing it right from the start.. :-) |
@N-o-X This is something for you. Don't forget to update the ITL and Documentation |
Closed with #d1d1c2e |
When you create a check using check_perfmon.exe you can't change the name of the counter in the output / perfdata.
Current Behavior
check_perfmon.exe -P "\PhysicalDisk(_Total)\Current Disk Queue Length"
Possible Solution
Add a parameter like -N {Name} that if set will override the name in the Output and perfdata
check_perfmon.exe -P "\PhysicalDisk(_Total)\Current Disk Queue Length" -N "Disk Queue Length"
While at it maybe format the output a bit more like below. ;-)
This will also be less of a pain when making graphs.
The text was updated successfully, but these errors were encountered: