LPAR2RRD - Hyper-V - Missing "agent.config"

edited April 2019 in Hyper-V
Good Morning,

I'm experiencing an issue with the installation process of the tool, when i run the "setup.vbs", it install the tool perfectly. But after the 30 minutes stipulated for replication, it does not show the Hyper-V tab on my Dashbord.
After digging through the "load file", it appears the following exception error:

"Could not find file 'C:\agent_config.txt'."
At C:\LPAR2RRD-agent.ps1:609 char:18
+ ... ch($line in [System.IO.File]::ReadLines("$location\agent_config.txt") ...
    + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
    + FullyQualifiedErrorId : FileNotFoundException

Anyone know if this exception is related? And if this is a known bug or something?

Comments

  • Hi Ricardo,
    at this time it is a bug in distribution, we will later supply this file "agent_config.txt" with some contain, but this error should not block to monitor windows server and send data to lpar2rrd server. You can create this file as empty.
    If there is no hyperv item in your lpar2rrd gui then
    check the "load file" to see if data are send to lpar2rrd server,
    on lpar2rrd server side check location tmp/HYPERV/ if there are any data files
    and/or send us logs
    Send us logs pls. 
    Note a short problem description in the text field of the upload form.
    
    cd /home/lpar2rrd/lpar2rrd  # or where is your LPAR2RRD working dir
    grep -v passw etc/web_config/hosts.json  > tmp/hosts.txt
    tar cvhf logs.tar logs tmp/*txt tmp/*json
    gzip -9 logs.tar
    
    Send us logs.tar.gz via https://upload.lpar2rrd.com
    You might even attach screenshots when it helps in understanding of the issue.



Sign In or Register to comment.