Cisco Support Community
Showing results for 
Search instead for 
Did you mean: 

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

IdsAlarms Script

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??


Re: IdsAlarms Script

Check the following URL,seems like some correction has to be made when you need NrLog format,

New Member

Re: IdsAlarms Script

From the that site:


Bug ID Summary Explanation


Legacy parameters are not available by using

There is an error in the script

To correct the error, perform the following steps:

1. Locate in the directory \CSCOpx\MDC\etc\ids\scripts.

2. Edit the file

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, 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.