Juniper EX Host Template
Moderators: Developers, Moderators
Juniper EX Host Template
I have created a host template for EX series Juniper switches. The template includes CPU, Memory usage and bandwidth in and out. The template should work on any Juniper device running JunOS but was created for EX4200. I am successfully using it on a set of SRX5800 in HA as well. Hopefully my naming conventions fit standard.
Hopefully it will help someone.
Thanks, Jim
Hopefully it will help someone.
Thanks, Jim
- Attachments
-
- cacti_host_template_juniper_ex.xml
- Juniper EX series host template with all dependencies
- (153.18 KiB) Downloaded 7308 times
I tried to import but failed:
Warning: cannot yet handle MBCS in html_entity_decode()! in /usr/share/cacti/lib/import.php on line 914
Warning: cannot yet handle MBCS in html_entity_decode()! in /usr/share/cacti/lib/import.php on line 914
Notice: Undefined index: dep in /usr/share/cacti/templates_import.php on line 96
[fail] m [new]
Fatal error: Only variables can be passed by reference in /usr/share/cacti/templates_import.php on line 115
cacti Version 0.8.7e
Warning: cannot yet handle MBCS in html_entity_decode()! in /usr/share/cacti/lib/import.php on line 914
Warning: cannot yet handle MBCS in html_entity_decode()! in /usr/share/cacti/lib/import.php on line 914
Notice: Undefined index: dep in /usr/share/cacti/templates_import.php on line 96
[fail] m [new]
Fatal error: Only variables can be passed by reference in /usr/share/cacti/templates_import.php on line 115
cacti Version 0.8.7e
Above error
I can't seem to reproduce your error? 73 downloads now. Has anyone else seen this error? Is anyone successfully using the templates i uploaded?
-
- Posts: 1
- Joined: Wed Dec 23, 2009 11:07 am
- Location: The Netherlands
Juniper EX template
Hi,
I am using Cacti Version 0.8.7c (CactiEZ) and by importing the Juniper EX switch template I've got the following error:
Error: XML: Hash version does not exist.
Using the text import:
Error: XML parse error.
Can someone tell me what is wrong?
Probably the hash... but how can i make it working....
I am using Cacti Version 0.8.7c (CactiEZ) and by importing the Juniper EX switch template I've got the following error:
Error: XML: Hash version does not exist.
Using the text import:
Error: XML parse error.
Can someone tell me what is wrong?
Probably the hash... but how can i make it working....
robogoat, i'm using this template to monitor some ex3200 switches (all running junOS 10.0R2.10)
Except for the memory graphs the other 2 work fine
When i manually snmpwalk them I get no data from the memory oid you used in the host template (was this template made for junos 10 or lower?)
Could you maybe help me out finding out the right memory oid for junos 10 as I was unable to myself..
Except for the memory graphs the other 2 work fine
When i manually snmpwalk them I get no data from the memory oid you used in the host template (was this template made for junos 10 or lower?)
Could you maybe help me out finding out the right memory oid for junos 10 as I was unable to myself..
Thanks! This pretty much worked for my evauation SRX100 straightaway. I've added some things: flow session, storage used, and temperature, might look at adding some of the juniper specific interface stuff later. This is my first export so hopefully everything works... I'm not sure about how the indexes on the storage will transfer to other systems, and there were no index labels in the juniper OIDs, might just have to change the last digits on the data templates.
- Attachments
-
- graph preview
- srx-cacti.png (201.06 KiB) Viewed 32002 times
-
- cacti_host_template_juniper_srx.xml
- srx cacti host template
- (189.93 KiB) Downloaded 2769 times
First, let me say many thanks for this template. I am using it for EX4200s EX3200s and a SRX3600 HA pair. The SRX3600 are running JunOS 10.1R1.8 and I am having trouble getting the Flow sessions and temp working. I would really like to get a lot more info into Cacti from my SRX's but don't have much time. I am pushing our Juniper SE to get JTAC or some of the JunOS engineers to see if they can work some to this end. Thanks again for the template.
-
- Posts: 1
- Joined: Fri Oct 17, 2008 12:51 pm
Re: Juniper EX Host Template
So, let me first say Thanks for the template, it works great for interface/CPU/filesys on our SRX3600's. However the fsstats (firewall sessions) does not graph anything. Looking into the template there is one OID which is being polled, which does not exist on our SRX3600's. Since we have (6x) SPC's in the modular chassis walking back up the OID in the template one level shows (12x) objects with different index's, which I would guess are the identifiers for how many firewall sessions are being handled by each SPC. Below is the SNMP walk from our firewalls:
SNMPv2-SMI::enterprises.2636.3.39.1.12.1.1.1.6.5 = Gauge32: 29006
SNMPv2-SMI::enterprises.2636.3.39.1.12.1.1.1.6.6 = Gauge32: 57651
SNMPv2-SMI::enterprises.2636.3.39.1.12.1.1.1.6.7 = Gauge32: 58204
SNMPv2-SMI::enterprises.2636.3.39.1.12.1.1.1.6.8 = Gauge32: 57445
SNMPv2-SMI::enterprises.2636.3.39.1.12.1.1.1.6.9 = Gauge32: 55924
SNMPv2-SMI::enterprises.2636.3.39.1.12.1.1.1.6.12 = Gauge32: 56918
SNMPv2-SMI::enterprises.2636.3.39.1.12.1.1.1.6.31 = Gauge32: 28528
SNMPv2-SMI::enterprises.2636.3.39.1.12.1.1.1.6.32 = Gauge32: 57150
SNMPv2-SMI::enterprises.2636.3.39.1.12.1.1.1.6.33 = Gauge32: 57003
SNMPv2-SMI::enterprises.2636.3.39.1.12.1.1.1.6.34 = Gauge32: 56746
SNMPv2-SMI::enterprises.2636.3.39.1.12.1.1.1.6.35 = Gauge32: 55678
SNMPv2-SMI::enterprises.2636.3.39.1.12.1.1.1.6.38 = Gauge32: 55934
So, my question is; If I assume that id's 5-12 are the SPC's in the primary (node0) chassis and id's 31-38 are the SPC's in the secondary (node1) chassis, how would I change the data query to add the value of these (6x) OID's together and put them on one graph. More specifically, I would love to have a separate line for each SPC fiewall session value showing all on one graph.
SNMPv2-SMI::enterprises.2636.3.39.1.12.1.1.1.6.5 = Gauge32: 29006
SNMPv2-SMI::enterprises.2636.3.39.1.12.1.1.1.6.6 = Gauge32: 57651
SNMPv2-SMI::enterprises.2636.3.39.1.12.1.1.1.6.7 = Gauge32: 58204
SNMPv2-SMI::enterprises.2636.3.39.1.12.1.1.1.6.8 = Gauge32: 57445
SNMPv2-SMI::enterprises.2636.3.39.1.12.1.1.1.6.9 = Gauge32: 55924
SNMPv2-SMI::enterprises.2636.3.39.1.12.1.1.1.6.12 = Gauge32: 56918
SNMPv2-SMI::enterprises.2636.3.39.1.12.1.1.1.6.31 = Gauge32: 28528
SNMPv2-SMI::enterprises.2636.3.39.1.12.1.1.1.6.32 = Gauge32: 57150
SNMPv2-SMI::enterprises.2636.3.39.1.12.1.1.1.6.33 = Gauge32: 57003
SNMPv2-SMI::enterprises.2636.3.39.1.12.1.1.1.6.34 = Gauge32: 56746
SNMPv2-SMI::enterprises.2636.3.39.1.12.1.1.1.6.35 = Gauge32: 55678
SNMPv2-SMI::enterprises.2636.3.39.1.12.1.1.1.6.38 = Gauge32: 55934
So, my question is; If I assume that id's 5-12 are the SPC's in the primary (node0) chassis and id's 31-38 are the SPC's in the secondary (node1) chassis, how would I change the data query to add the value of these (6x) OID's together and put them on one graph. More specifically, I would love to have a separate line for each SPC fiewall session value showing all on one graph.
Re: Juniper EX template
jhemmen@avensus.nl wrote:Hi,
I am using Cacti Version 0.8.7c (CactiEZ) and by importing the Juniper EX switch template I've got the following error:
Error: XML: Hash version does not exist.
Using the text import:
Error: XML parse error.
Can someone tell me what is wrong?
Probably the hash... but how can i make it working....
Hi, I met this problem too, can you share me the version of your CACTI which works well ?
-
- Posts: 2
- Joined: Fri Aug 05, 2011 8:11 am
Re: Juniper EX Host Template
I was able to get this template working in an older version of cacti by changing the portion of the hash which represents the cacti version:
http://docs.cacti.net/howto:determine_c ... te_version
http://docs.cacti.net/howto:determine_c ... te_version
Re: Juniper EX Host Template
hi there
I am getting the "SNMP error" below from one of our Juniper SRX240h2 device on cacti -
Model: srx240h2
JUNOS Software Release [12.1X44-D30.4]
From the Vebrose query for SNMP- interface Statistics
Data Query Debug Information
+ Running data query [1].
+ Found type = '3' [SNMP Query].
+ Found data query XML file at '/var/www/html/resource/snmp_queries/interface.xml'
+ XML file parsed ok.
+ Executing SNMP get for num of indexes @ '.1.3.6.1.2.1.2.1.0' Index Count:
+ Executing SNMP walk for list of indexes @ '.1.3.6.1.2.1.2.2.1.1' Index Count: 0
+ No SNMP data returned
I don't see any graphs and the device state is showing down. can you please help me with this?? do I need to add anything on template ??
I am getting the "SNMP error" below from one of our Juniper SRX240h2 device on cacti -
Model: srx240h2
JUNOS Software Release [12.1X44-D30.4]
From the Vebrose query for SNMP- interface Statistics
Data Query Debug Information
+ Running data query [1].
+ Found type = '3' [SNMP Query].
+ Found data query XML file at '/var/www/html/resource/snmp_queries/interface.xml'
+ XML file parsed ok.
+ Executing SNMP get for num of indexes @ '.1.3.6.1.2.1.2.1.0' Index Count:
+ Executing SNMP walk for list of indexes @ '.1.3.6.1.2.1.2.2.1.1' Index Count: 0
+ No SNMP data returned
I don't see any graphs and the device state is showing down. can you please help me with this?? do I need to add anything on template ??
Who is online
Users browsing this forum: No registered users and 1 guest