How to discover ports on Juniper SRX
How to discover ports on Juniper SRX
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?
Re: How to discover ports on Juniper SRX
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>
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!
Re: How to discover ports on Juniper SRX
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
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.
Re: How to discover ports on Juniper SRX
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.
Re: How to discover ports on Juniper SRX
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