12-22-2003 09:01 AM - edited 03-09-2019 05:57 AM
Using this script, I am only able to export alarms in the IDIOM XML format. The command says that I can also export in NrLog and Oracle format, using -on and -oo respectively, however, they do not work at all. The script seems to run, but the output is blank (0 bytes). Am I missing something??
12-29-2003 08:36 AM
Check the following URL,seems like some correction has to be made when you need NrLog format,http://www.cisco.com/en/US/products/sw/cscowork/ps3990/prod_release_note09186a008018de4d.html
12-29-2003 09:09 AM
From the that site:
---------------------------------------------------
Bug ID Summary Explanation
CSCin38443
Legacy parameters are not available by using legacyIf.pl
There is an error in the script LegacyIf.pl.
To correct the error, perform the following steps:
1. Locate LegacyIf.pl in the directory
2. Edit the file LegacyIf.pl
3. Change line 78 to add "-on" to force output in NrLog format:
Before editing:
system("IdsAlarms -s\"$whereClause\" -f\"$tmpFile\"")
After editing:
system("IdsAlarms -on -s\"$whereClause\" -f\"$tmpFile\"")
4. Save file and exit.
After this change, LegacyIf.pl will operate correctly.
Note NrLog format is only valid for version 3.x Sensors (postoffice). No data from 4.x (RDEP) Sensors will be output with this script.
---------------------------------------------------
So basically the only way I can export 4x alarms is in tabular format? There has to be a better way. Im trying to take the exported data and convert it to a text file with various fields, for other programs. With the 3x sensor this was easy, but its a lot harder with the 4x ones.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide