{"action":"created","issue":{"url":"https://api.github.com/repos/poxet/Influx-Capacitor/issues/62","repository_url":"https://api.github.com/repos/poxet/Influx-Capacitor","labels_url":"https://api.github.com/repos/poxet/Influx-Capacitor/issues/62/labels{/name}","comments_url":"https://api.github.com/repos/poxet/Influx-Capacitor/issues/62/comments","events_url":"https://api.github.com/repos/poxet/Influx-Capacitor/issues/62/events","html_url":"https://github.com/poxet/Influx-Capacitor/issues/62","id":150698761,"number":62,"title":"Cannot read counters","user":{"login":"skonet","id":18609456,"avatar_url":"https://avatars.githubusercontent.com/u/18609456?v=3","gravatar_id":"","url":"https://api.github.com/users/skonet","html_url":"https://github.com/skonet","followers_url":"https://api.github.com/users/skonet/followers","following_url":"https://api.github.com/users/skonet/following{/other_user}","gists_url":"https://api.github.com/users/skonet/gists{/gist_id}","starred_url":"https://api.github.com/users/skonet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skonet/subscriptions","organizations_url":"https://api.github.com/users/skonet/orgs","repos_url":"https://api.github.com/users/skonet/repos","events_url":"https://api.github.com/users/skonet/events{/privacy}","received_events_url":"https://api.github.com/users/skonet/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-04-24T20:56:47Z","updated_at":"2016-04-25T13:38:10Z","closed_at":null,"body":"Hello,\r\n\r\nFirst, I would like to thank you for this project, it is exactly what I need to monitor machines (locally or remotely)!\r\n\r\nNow my issue: I finally managed to configure InfluxDB access, and this works ('config show' generates a successful 'ping' to InfluxDB).\r\nHowever, I cannot configure counters, even standard ones.\r\nI created two XML files for metrics:\r\n```\r\n<?xml version=\"1.0\" encoding=\"utf-16\"?>\r\n<Influx-Capacitor>\r\n  <CounterGroups>\r\n    <CounterGroup Name=\"processor\" SecondsInterval=\"10\">\r\n      <Counter>\r\n        <CategoryName>Processor</CategoryName>\r\n        <CounterName>% Processor Time</CounterName>\r\n        <InstanceName>*</InstanceName>\r\n      </Counter>\r\n      <Counter>\r\n        <CategoryName>Processeur</CategoryName>\r\n        <CounterName>% temps processeur</CounterName>\r\n        <InstanceName>*</InstanceName>\r\n      </Counter>\r\n    </CounterGroup>\r\n  </CounterGroups>\r\n</Influx-Capacitor>\r\n```\r\nand \r\n```\r\n<?xml version=\"1.0\" encoding=\"utf-16\"?>\r\n<Influx-Capacitor>\r\n  <CounterGroups>\r\n    <CounterGroup Name=\"processor2\" SecondsInterval=\"5\" RefreshInstanceInterval=\"0\">\r\n      <Counter>\r\n        <CategoryName>Processor</CategoryName>\r\n        <CounterName>% Processor Time</CounterName>\r\n        <InstanceName>_Total</InstanceName>\r\n      </Counter>\r\n    </CounterGroup>\r\n  </CounterGroups>\r\n</Influx-Capacitor>\r\n```\r\nPlease note that my Win7 SP1 is installed in French, so I tried both English and French names for perf counters.\r\nI activated service log file and got these lines:\r\n```\r\nWARN - 24/04/2016 22:20:02: Unable to get performance counter .Processor.% Processor Time.*. La catégorie n'existe pas.\r\nWARN - 24/04/2016 22:20:02: Unable to get performance counter .Processeur.% temps processeur.*. La catégorie n'existe pas.\r\nERROR - 24/04/2016 22:20:02: Engine processor: La référence d'objet n'est pas définie à une instance d'un objet.\r\nWARN - 24/04/2016 22:20:02: Unable to get performance counter .Processor.% Processor Time._Total. La catégorie n'existe pas.\r\nERROR - 24/04/2016 22:20:02: Engine processor2: La référence d'objet n'est pas définie à une instance d'un objet.\r\nINFO - 24/04/2016 22:20:02: Service Influx-Capacitor version 1.0.18.0 started.\r\nERROR - 24/04/2016 22:20:07: Engine processor2: La référence d'objet n'est pas définie à une instance d'un objet.\r\nERROR - 24/04/2016 22:20:12: Engine processor: La référence d'objet n'est pas définie à une instance d'un objet.\r\nERROR - 24/04/2016 22:20:12: Engine processor2: La référence d'objet n'est pas définie à une instance d'un objet.\r\n```\r\nIn English it says that the category does not exist, which is rather annoying for Processor (English) or Processeur (French). Note that perfmon find these categories with no problem.\r\nFinally I tried to create the counter directly in console (see attached PNG file).\r\n![console_counter](https://cloud.githubusercontent.com/assets/18609456/14770326/5aad82fa-0a6f-11e6-9d69-3765e192822d.png)\r\nI enter category 'Processor' -> OK\r\nI enter counter '% Processor Time' -> NOK ('There are several matches to the entry')\r\nIf I enter counter '\\% Processor Time' -> OK, but counter not found!\r\n\r\nThanx for your help!\r\nStéphane.\r\n"},"comment":{"url":"https://api.github.com/repos/poxet/Influx-Capacitor/issues/comments/214331300","html_url":"https://github.com/poxet/Influx-Capacitor/issues/62#issuecomment-214331300","issue_url":"https://api.github.com/repos/poxet/Influx-Capacitor/issues/62","id":214331300,"user":{"login":"poxet","id":1822352,"avatar_url":"https://avatars.githubusercontent.com/u/1822352?v=3","gravatar_id":"","url":"https://api.github.com/users/poxet","html_url":"https://github.com/poxet","followers_url":"https://api.github.com/users/poxet/followers","following_url":"https://api.github.com/users/poxet/following{/other_user}","gists_url":"https://api.github.com/users/poxet/gists{/gist_id}","starred_url":"https://api.github.com/users/poxet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/poxet/subscriptions","organizations_url":"https://api.github.com/users/poxet/orgs","repos_url":"https://api.github.com/users/poxet/repos","events_url":"https://api.github.com/users/poxet/events{/privacy}","received_events_url":"https://api.github.com/users/poxet/received_events","type":"User","site_admin":false},"created_at":"2016-04-25T13:38:09Z","updated_at":"2016-04-25T13:38:09Z","body":"Perhaps it is a language problem. I had some issues with that when trying on a machine that has a Swedish operating system.\r\n\r\nWhen you configured the counters did you type \"\\% Processor Time\" and \"_Total\" or did you press the Tab-key to get the values? If you have not already, try using the Tab-key for all fields possible when create the counters, then you are sure that the counters are entered the same way as they are read.\r\n\r\nAlso, try running the console program as administrator and see if that helps when creating or reading the counters."}}