How to discover ports on Juniper SRX

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
algray316
Posts: 3
Joined: Thu Feb 25, 2016 1:20 pm

How to discover ports on Juniper SRX

Post by algray316 »

I have been trying to use every configuration wizard available to get interface discovery of my Juniper SRX firewalls. I have followed all of Junipers directions for enabling the SNMP and my Cacti can pull everything from the firewalls but not Nagios XI. Can someone please tell me what i am missing?
bwallace
Posts: 1145
Joined: Tue Nov 17, 2015 1:57 pm

Re: How to discover ports on Juniper SRX

Post by bwallace »

From the Nagios XI CLI, what is the result of running an snmpwalk against one of these firewalls?

snmpwalk -v2c -c <community> <IP ADDRESS OF HOST>
or snmpget:
snmpget -v2c -c <community> <IP ADDRESS OF HOST>
Be sure to check out the Knowledgebase for helpful articles and solutions!
algray316
Posts: 3
Joined: Thu Feb 25, 2016 1:20 pm

Re: How to discover ports on Juniper SRX

Post by algray316 »

I was able to get the the interfaces discovered by using the Network Switch / Router configuration wizard. but it is unable to create the graphs. My firewall is configured as such

auth-trap-disable;
view jweb-view-all {
oid .1 include;
}
community CSA-Auburn {
view jweb-view-all;
authorization read-write;
}
trap-group CSA-Auburn {
version v2;
categories {
chassis;
link;
routing;
startup;
rmon-alarm;
configuration;
}
targets {
10.18.22.166; - "Cacti"
10.18.22.192; - "Nagios XI"
}

set policy-options prefix-list snmp-addresses 10.18.22.192 (This corrected the issue)

The service detail screen starts out like the image file Adding Firewall

But then it ends up like the image file Firewall Results
You do not have the required permissions to view the files attached to this post.
algray316
Posts: 3
Joined: Thu Feb 25, 2016 1:20 pm

Re: How to discover ports on Juniper SRX

Post by algray316 »

Now the worst part is if I add it the same way using its IP address 10.68.156.9 like i did originally, but do not change the host name it works perfectly as shown in the No host name change attachment
You do not have the required permissions to view the files attached to this post.
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: How to discover ports on Juniper SRX

Post by rkennedy »

From the CLI of Nagios, can you resolve the hostname you were attempting to use? Are there any special characters in it?
Former Nagios Employee
Locked