{"action":"created","issue":{"url":"https://api.github.com/repos/nmonvisualizer/nmonvisualizer/issues/33","labels_url":"https://api.github.com/repos/nmonvisualizer/nmonvisualizer/issues/33/labels{/name}","comments_url":"https://api.github.com/repos/nmonvisualizer/nmonvisualizer/issues/33/comments","events_url":"https://api.github.com/repos/nmonvisualizer/nmonvisualizer/issues/33/events","html_url":"https://github.com/nmonvisualizer/nmonvisualizer/issues/33","id":126868132,"number":33,"title":"Help with the most simple xml file you ever heard of :-)","user":{"login":"thsnielsen","id":16719354,"avatar_url":"https://avatars.githubusercontent.com/u/16719354?v=3","gravatar_id":"","url":"https://api.github.com/users/thsnielsen","html_url":"https://github.com/thsnielsen","followers_url":"https://api.github.com/users/thsnielsen/followers","following_url":"https://api.github.com/users/thsnielsen/following{/other_user}","gists_url":"https://api.github.com/users/thsnielsen/gists{/gist_id}","starred_url":"https://api.github.com/users/thsnielsen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thsnielsen/subscriptions","organizations_url":"https://api.github.com/users/thsnielsen/orgs","repos_url":"https://api.github.com/users/thsnielsen/repos","events_url":"https://api.github.com/users/thsnielsen/events{/privacy}","received_events_url":"https://api.github.com/users/thsnielsen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-15T13:02:29Z","updated_at":"2016-01-15T15:45:00Z","closed_at":null,"body":"looks really good, i like the GUI - but i have many files to process.\r\nFor a limited number of hosts, i have an nmon file each day, and i would like to make a graph over ONE number in the nmon data - screenshot attached\r\n\r\n![nmonvisualizer](https://cloud.githubusercontent.com/assets/16719354/12353444/99c7c98e-bb8f-11e5-84dc-e9c712b43a58.png)\r\n\r\n, and i see that the command line make a continous graph when the nmon files are continous - very good.\r\nThis is the xml i tried to make :  \r\ncat ndsdResData.xml \r\n\\<linechart name=\"NDSD ResData\" shortName=\"NDSD\" stacked=\"true\"\\>\r\n  \\<yAxis label=\"NDSDResdata\" asPercent=\"false\" /\\>\r\n  \\<data\\>\r\n    \\<host os=\"linux\" />\r\n    \\<type name=\"TOP\" />\r\n    \\<field name=\"ndsd\" />\r\n    \\<field name=\"ResData\" />\r\n  \\</data>\r\n\\</linechart>\r\n\r\nWhat i want is a graph of <host>,TOP,ndsd<PID>,ResData for each host, collecting the values from all my nmon files for that host - like it does in the standard run if i do : \r\n java -jar NMONVisualizer_2015-10-21.jar com.ibm.nmon.ReportGenerator 20160112/slz852* \r\n\r\nbtw i also have problems getting the -mf accepted\r\n\r\n by the command line (maybe i need to use -d?) i have tried variations of (placing the mf before and after various places :-): \r\njava -jar NMONVisualizer_2015-10-21.jar com.ibm.nmon.ReportGenerator 20160112/slz852* -mf ndsdResData.xml \r\n\r\nAny help greatly appreciated :-) do not hesitate to ask me questions, if i did not explain well.\r\n"},"comment":{"url":"https://api.github.com/repos/nmonvisualizer/nmonvisualizer/issues/comments/171995764","html_url":"https://github.com/nmonvisualizer/nmonvisualizer/issues/33#issuecomment-171995764","issue_url":"https://api.github.com/repos/nmonvisualizer/nmonvisualizer/issues/33","id":171995764,"user":{"login":"hpresnall","id":3526993,"avatar_url":"https://avatars.githubusercontent.com/u/3526993?v=3","gravatar_id":"","url":"https://api.github.com/users/hpresnall","html_url":"https://github.com/hpresnall","followers_url":"https://api.github.com/users/hpresnall/followers","following_url":"https://api.github.com/users/hpresnall/following{/other_user}","gists_url":"https://api.github.com/users/hpresnall/gists{/gist_id}","starred_url":"https://api.github.com/users/hpresnall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hpresnall/subscriptions","organizations_url":"https://api.github.com/users/hpresnall/orgs","repos_url":"https://api.github.com/users/hpresnall/repos","events_url":"https://api.github.com/users/hpresnall/events{/privacy}","received_events_url":"https://api.github.com/users/hpresnall/received_events","type":"User","site_admin":false},"created_at":"2016-01-15T15:45:00Z","updated_at":"2016-01-15T15:45:00Z","body":"Documentation bug - it should be `--mt` or `--mf`. I will fix that. However you don't need to multiplex by type unless you wan to get ResData for all the processes on each system.\r\n\r\nInstead you just want to use `-d` to create a chart per hostname or `-a` to create one chart that has a line for each host. (If you want to use -a, you will need to add `linesNamedBy=\"HOST\"` to the `<linechart>` element below.)\r\n\r\nOn your chart definition, you need to specify the type as ndsd like this:\r\n\r\n    <?xml version=\"1.1\" encoding=\"UTF-8\"?>\r\n      <charts>\r\n        <linechart name=\"NDSD ResData\" shortName=\"NDSD\">\r\n          <yAxis label=\"NDSDResdata\" />\r\n          <data>\r\n            <host os=\"linux\" />\r\n            <type name=\"ndsd\" />\r\n            <field name=\"ResData\" />\r\n          </data>\r\n        </linechart>\r\n    </charts>\r\n\r\nNote that this assumes you only have a single ndsd process on each host. If you have more than one process then the type named `ndsd` is actually the sum of the process data values for all the ndsd processes running."}}