Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for multiple SPUs per SPC #9

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.DS_Store
12,020 changes: 8,237 additions & 3,783 deletions All-In-One Host Template/cacti_host_template_juniper_networks.xml

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,13 @@
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.4.1.2636.3.5.2.1.4</oid>
</Packets>
<Bytes>
</Packets>
<Bytes>
<name>Bytes Filtered</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.4.1.2636.3.5.2.1.5</oid>
</Bytes>
</Bytes>
</fields>
</interface>
Original file line number Diff line number Diff line change
@@ -1,69 +1,69 @@
<interface>
<name>Juniper - BGP Peer Information</name>
<oid_index>.1.3.6.1.4.1.2636.5.1.1.2.1.1.1.14</oid_index>
<oid_index_parse>OID/REGEXP:.*\.([0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3})$</oid_index_parse>
<index_order>Index</index_order>
<index_order_type>numeric</index_order_type>
<index_title_format>|chosen_order_field|</index_title_format>
<name>Juniper - BGP Peer Information</name>
<oid_index>.1.3.6.1.4.1.2636.5.1.1.2.1.1.1.14</oid_index>
<oid_index_parse>OID/REGEXP:.*\.([0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3})$</oid_index_parse>
<index_order>Index</index_order>
<index_order_type>numeric</index_order_type>
<index_title_format>|chosen_order_field|</index_title_format>

<fields>
<Index>
<name>Index</name>
<method>walk</method>
<source>index</source>
<direction>input</direction>
</Index>
<fields>
<Index>
<name>Index</name>
<method>walk</method>
<source>index</source>
<direction>input</direction>
</Index>

<LocalIP>
<name>Local IP</name>
<method>walk</method>
<source>value</source>
<direction>input</direction>
<oid>.1.3.6.1.4.1.2636.5.1.1.2.1.1.1.2</oid>
<source>OID/REGEXP:.*\.([0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3})\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}$</source>
</LocalIP>
<LocalIP>
<name>Local IP</name>
<method>walk</method>
<source>value</source>
<direction>input</direction>
<oid>.1.3.6.1.4.1.2636.5.1.1.2.1.1.1.2</oid>
<source>OID/REGEXP:.*\.([0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3})\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}$</source>
</LocalIP>

<jnxBgpM2PeerLocalAs>
<name>Local AS</name>
<method>walk</method>
<source>value</source>
<direction>input</direction>
<oid>.1.3.6.1.4.1.2636.5.1.1.2.1.1.1.9</oid>
</jnxBgpM2PeerLocalAs>
<jnxBgpM2PeerLocalAs>
<name>Local AS</name>
<method>walk</method>
<source>value</source>
<direction>input</direction>
<oid>.1.3.6.1.4.1.2636.5.1.1.2.1.1.1.9</oid>
</jnxBgpM2PeerLocalAs>

<PeerIP>
<name>Peer IP</name>
<method>walk</method>
<source>value</source>
<direction>input</direction>
<oid>.1.3.6.1.4.1.2636.5.1.1.2.1.1.1.2</oid>
<source>OID/REGEXP:.*\.([0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3})$</source>
</PeerIP>
<PeerIP>
<name>Peer IP</name>
<method>walk</method>
<source>value</source>
<direction>input</direction>
<oid>.1.3.6.1.4.1.2636.5.1.1.2.1.1.1.2</oid>
<source>OID/REGEXP:.*\.([0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3})$</source>
</PeerIP>

<jnxBgpM2PeerRemoteAs>
<name>Peer AS</name>
<method>walk</method>
<source>value</source>
<direction>input</direction>
<oid>.1.3.6.1.4.1.2636.5.1.1.2.1.1.1.13</oid>
</jnxBgpM2PeerRemoteAs>
<jnxBgpM2PeerRemoteAs>
<name>Peer AS</name>
<method>walk</method>
<source>value</source>
<direction>input</direction>
<oid>.1.3.6.1.4.1.2636.5.1.1.2.1.1.1.13</oid>
</jnxBgpM2PeerRemoteAs>

<jnxBgpM2PeerState>
<name>Peer State</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.4.1.2636.5.1.1.2.1.1.1.2</oid>
<jnxBgpM2PeerState>
<name>Peer State</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.4.1.2636.5.1.1.2.1.1.1.2</oid>

</jnxBgpM2PeerState>
</jnxBgpM2PeerState>

<jnxBgpM2PeerStatus>
<name>Peer Status</name>
<method>walk</method>
<source>value</source>
<direction>input</direction>
<oid>.1.3.6.1.4.1.2636.5.1.1.2.1.1.1.3</oid>
</jnxBgpM2PeerStatus>
<jnxBgpM2PeerStatus>
<name>Peer Status</name>
<method>walk</method>
<source>value</source>
<direction>input</direction>
<oid>.1.3.6.1.4.1.2636.5.1.1.2.1.1.1.3</oid>
</jnxBgpM2PeerStatus>

</fields>
</fields>
</interface>
126 changes: 63 additions & 63 deletions All-In-One Host Template/resource/snmp_queries/juniper_fpc_stats.xml
Original file line number Diff line number Diff line change
@@ -1,77 +1,77 @@
<interface>
<name>Juniper - FPC </name>
<oid_index>.1.3.6.1.4.1.2636.3.1.13.1.5.7</oid_index>
<oid_index_parse>OID/REGEXP:.*([0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3})$</oid_index_parse>
<index_order>Index</index_order>
<index_order_type>numeric</index_order_type>
<index_title_format>|chosen_order_field|</index_title_format>
<name>Juniper - FPC </name>
<oid_index>.1.3.6.1.4.1.2636.3.1.13.1.5.7</oid_index>
<oid_index_parse>OID/REGEXP:.*([0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3})$</oid_index_parse>
<index_order>Index</index_order>
<index_order_type>numeric</index_order_type>
<index_title_format>|chosen_order_field|</index_title_format>

<fields>
<Index>
<name>Index</name>
<method>walk</method>
<source>index</source>
<direction>input</direction>
<fields>
<Index>
<name>Index</name>
<method>walk</method>
<source>index</source>
<direction>input</direction>

</Index>
</Index>

<jnxOperatingDescr>
<name>Description</name>
<method>walk</method>
<source>value</source>
<direction>input</direction>
<oid>.1.3.6.1.4.1.2636.3.1.13.1.5.7</oid>
</jnxOperatingDescr>
<jnxOperatingDescr>
<name>Description</name>
<method>walk</method>
<source>value</source>
<direction>input</direction>
<oid>.1.3.6.1.4.1.2636.3.1.13.1.5.7</oid>
</jnxOperatingDescr>

<temp>
<name>Temperature (C)</name>
<method>walk</method>
<source>value</source>
<direction>input</direction>
<oid>.1.3.6.1.4.1.2636.3.1.13.1.7.7</oid>
</temp>
<temp>
<name>Temperature (C)</name>
<method>walk</method>
<source>value</source>
<direction>input</direction>
<oid>.1.3.6.1.4.1.2636.3.1.13.1.7.7</oid>
</temp>

<jnxOperatingStateOrdered>
<name>Operating State</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.4.1.2636.3.1.13.1.16.7</oid>
</jnxOperatingStateOrdered>
<jnxOperatingStateOrdered>
<name>Operating State</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.4.1.2636.3.1.13.1.16.7</oid>
</jnxOperatingStateOrdered>

<jnxOperatingTemp>
<name>Temperature</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.4.1.2636.3.1.13.1.7.7</oid>
</jnxOperatingTemp>
<jnxOperatingTemp>
<name>Temperature</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.4.1.2636.3.1.13.1.7.7</oid>
</jnxOperatingTemp>

<jnxOperatingCPU>
<name>CPU Utilization</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.4.1.2636.3.1.13.1.8.7</oid>
</jnxOperatingCPU>
<jnxOperatingCPU>
<name>CPU Utilization</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.4.1.2636.3.1.13.1.8.7</oid>
</jnxOperatingCPU>

<jnxOperatingBuffer>
<name>RAM Utilization</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.4.1.2636.3.1.13.1.11.7</oid>
</jnxOperatingBuffer>
<jnxOperatingBuffer>
<name>RAM Utilization</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.4.1.2636.3.1.13.1.11.7</oid>
</jnxOperatingBuffer>

<jnxOperatingMemory>
<name>Max RAM</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.4.1.2636.3.1.13.1.15.7</oid>
</jnxOperatingMemory>
<jnxOperatingMemory>
<name>Max RAM</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.4.1.2636.3.1.13.1.15.7</oid>
</jnxOperatingMemory>



</fields>
</fields>
</interface>
Original file line number Diff line number Diff line change
@@ -1,51 +1,51 @@
<interface>
<name>Juniper - Power Supply</name>
<oid_index>.1.3.6.1.4.1.2636.3.1.13.1.5.2</oid_index>
<oid_index_parse>OID/REGEXP:.*\.([0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3})$</oid_index_parse>
<index_order>Index</index_order>
<index_order_type>numeric</index_order_type>
<index_title_format>|chosen_order_field|</index_title_format>
<name>Juniper - Power Supply</name>
<oid_index>.1.3.6.1.4.1.2636.3.1.13.1.5.2</oid_index>
<oid_index_parse>OID/REGEXP:.*\.([0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3})$</oid_index_parse>
<index_order>Index</index_order>
<index_order_type>numeric</index_order_type>
<index_title_format>|chosen_order_field|</index_title_format>

<fields>
<Index>
<name>Index</name>
<method>walk</method>
<source>index</source>
<direction>input</direction>
<fields>
<Index>
<name>Index</name>
<method>walk</method>
<source>index</source>
<direction>input</direction>

</Index>
</Index>

<jnxOperatingDescr>
<name>Description</name>
<method>walk</method>
<source>value</source>
<direction>input</direction>
<oid>.1.3.6.1.4.1.2636.3.1.13.1.5.2</oid>
</jnxOperatingDescr>
<jnxOperatingDescr>
<name>Description</name>
<method>walk</method>
<source>value</source>
<direction>input</direction>
<oid>.1.3.6.1.4.1.2636.3.1.13.1.5.2</oid>
</jnxOperatingDescr>

<temp>
<name>Temperature (C)</name>
<method>walk</method>
<source>value</source>
<direction>input</direction>
<oid>.1.3.6.1.4.1.2636.3.1.13.1.7.2</oid>
</temp>
<temp>
<name>Temperature (C)</name>
<method>walk</method>
<source>value</source>
<direction>input</direction>
<oid>.1.3.6.1.4.1.2636.3.1.13.1.7.2</oid>
</temp>

<jnxOperatingStateOrdered>
<name>Operating State</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.4.1.2636.3.1.13.1.16.2</oid>
</jnxOperatingStateOrdered>
<jnxOperatingStateOrdered>
<name>Operating State</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.4.1.2636.3.1.13.1.16.2</oid>
</jnxOperatingStateOrdered>

<jnxOperatingTemp>
<name>Temperature</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.4.1.2636.3.1.13.1.7.2</oid>
</jnxOperatingTemp>
<jnxOperatingTemp>
<name>Temperature</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.4.1.2636.3.1.13.1.7.2</oid>
</jnxOperatingTemp>

</fields>
</fields>
</interface>
Loading