We are updating our 2nd Foglight Management Server (FMS) and need to copy the Network Device List from the NetMonitor agent to the new FMS.
How can this be accomplished?
The method we have to export/import the secondary Agent Startup Parameters (ASPs) is to export all the configuration types then edit the file to remove everything except what you wish to import, save the new file then import.
If you wish us to review your edited export file before importing, feel free to open a case and share it with us.
1) Run the export:
$FGLHOME/bin/fglcmd.(sh or.bat) -usr foglight -pwd foglight -port 8080 -cmd util:configexport -f ASP.xml
2. Look for your desired ASP(s); example called XXlist (this example's name of the cloned ASP)
fd336bd3-a56b-4d03-902e-7bd95986ce9b
SPI
NetMonitor
Foglight4-XML
sharable
named
netDevList
XXList
fc5c970c233e1442441f6f3f39645a4d
....
....
3. Remove all the other undersired Config Nodes and save file as ASP2.xml
(You'll get a file similar to the attached edited example which only has 1 ASP, but you'll most likely decide to export/import more than one in your file)
4) Use the Commandline to import the changed ASP file on your target FMS.
$FGLHOME/bin/fglcmd.(sh or bat) -usr foglight -pwd foglight -port 8080 -cmd util:configimport -f ASP2.xml
© ALL RIGHTS RESERVED. Feedback Terms of Use Privacy Cookie Preference Center