Automation Scripts

Reply
Highlighted

90 day reporting script not refining down to single switch

nhdaytonv
Techie
Posts: 5
2389     0

After cribbing a ports used script I'm wondering if I missed an option in the script to drill down to individual switches in a switch group.

It looks like it's an issue in the NMRI selection, but a second pair of eyes to verify can't hurt.



The script in question:

<?xml version="1.0" encoding="UTF-8"?>

<report><category-id type="integer">2</category-id><description/><hidden-ind type="boolean">false</hidden-ind><name>Ports Not Used in past 90 Days</name><pre-packaged-ind type="boolean">false</pre-packaged-ind><short-headings-ind type="boolean">false</short-headings-ind><report-sets type="array"><report-set><description/><logic-text>8 and 10</logic-text><logic-type>and</logic-type><model-doc-id type="integer">10</model-doc-id><name>Ports Not Used in past 90 Days</name><report-set-attributes type="array"><report-set-attribute><attribute-doc-id type="integer">2510</attribute-doc-id><is-display-column type="boolean">true</is-display-column><path>device.DeviceName</path><position type="integer">0</position><sort-direction/></report-set-attribute><report-set-attribute><attribute-doc-id type="integer">2510</attribute-doc-id><is-display-column type="boolean">false</is-display-column><path>device.DeviceName</path><position type="integer">0</position><sort-direction>ASC</sort-direction></report-set-attribute><report-set-attribute><attribute-doc-id type="integer">877</attribute-doc-id><is-display-column type="boolean">false</is-display-column><path>ifDescrRaw</path><position type="integer">1</position><sort-direction>ASC</sort-direction></report-set-attribute><report-set-attribute><attribute-doc-id type="integer">2508</attribute-doc-id><is-display-column type="boolean">true</is-display-column><path>device.DeviceIPDotted</path><position type="integer">1</position><sort-direction/></report-set-attribute><report-set-attribute><attribute-doc-id type="integer">877</attribute-doc-id><is-display-column type="boolean">true</is-display-column><path>ifDescrRaw</path><position type="integer">2</position><sort-direction/></report-set-attribute><report-set-attribute><attribute-doc-id type="integer">202</attribute-doc-id><is-display-column type="boolean">true</is-display-column><path>ifDescr</path><position type="integer">3</position><sort-direction/></report-set-attribute><report-set-attribute><attribute-doc-id type="integer">3828</attribute-doc-id><is-display-column type="boolean">true</is-display-column><path>ifOperStatusChange</path><position type="integer">4</position><sort-direction/></report-set-attribute><report-set-attribute><attribute-doc-id type="integer">197</attribute-doc-id><is-display-column type="boolean">true</is-display-column><path>ifAdminStatus</path><position type="integer">5</position><sort-direction/></report-set-attribute><report-set-attribute><attribute-doc-id type="integer">214</attribute-doc-id><is-display-column type="boolean">true</is-display-column><path>ifOperStatus</path><position type="integer">6</position><sort-direction/></report-set-attribute></report-set-attributes><report-set-filters type="array"><report-set-filter><attribute-doc-id type="integer">214</attribute-doc-id><match>down</match><operator>matches</operator><path>ifOperStatus</path><position type="integer">8</position></report-set-filter><report-set-filter><attribute-doc-id type="integer">3828</attribute-doc-id><match>90 days ago</match><operator><=</operator><path>ifOperStatusChange</path><position type="integer">10</position></report-set-filter></report-set-filters></report-set></report-sets></report>

Showing results for 
Search instead for 
Do you mean 

Recommended for You