Page 1 of 1

How to monitor Juniper SSG5 using Nagios?

Posted: Fri Jan 10, 2014 9:59 am
by Noctis0791
Hello Guys,

We would like to monitor our Juniper SSG5’s availability and bandwidth traffic using Nagios. I see SNMP is supported on this device (see attached). Can you guys give me an overview how we can accomplish this? May I also know the add-ins/plugins that we could use?

Thank you very much,

Arnel

Re: How to monitor Juniper SSG5 using Nagios?

Posted: Fri Jan 10, 2014 12:22 pm
by sreinhardt
As you likely figured, snmp is probably the best route. I would probably start by suggesting you look at plugins on exchange.nagios.org, and check out the check_ifoperstatus plugin for port status. As for bandwidth, mrtg is what we use for XI but there are many options out there.

Re: How to monitor Juniper SSG5 using Nagios?

Posted: Fri Jan 24, 2014 10:07 am
by Noctis0791
Thanks sreinhardt, we've enabled snmp on our Juniper SSG5 by following this KB article. Now, we are trying to monitor its uptime using snmp_check but we are getting this error in the pre-flight check. Workaround would be commenting these lines on the template. Any idea how to properly solve this? I'll attach my configs as well. Let me know if you need anything more to check.

check_period 24×7 ;switches are monitored round the clock
notification_period 24×7 ;Send notifications at any time

Thank You,

Arnel

Re: How to monitor Juniper SSG5 using Nagios?

Posted: Fri Jan 24, 2014 1:43 pm
by slansing
You need to define that time period in the timeperiods.cfg file. Then re-verify your configuration files.

Re: How to monitor Juniper SSG5 using Nagios?

Posted: Fri Jan 24, 2014 3:10 pm
by Noctis0791
Thanks slansing! So what should I put on my timeperiods.cfg? Seems like I dont have it enabled yet. Just an example that I could follow for the rest.

Thank You,

Arnel

Re: How to monitor Juniper SSG5 using Nagios?

Posted: Fri Jan 24, 2014 3:12 pm
by slansing
We have this documented pretty well, along with some examples:

http://nagios.sourceforge.net/docs/3_0/timeperiods.html

Re: How to monitor Juniper SSG5 using Nagios?

Posted: Fri Jan 24, 2014 3:17 pm
by Noctis0791
Okay, i'll check on it and i'll let you know if I have further questions.

Thanks,

Arnel

Re: How to monitor Juniper SSG5 using Nagios?

Posted: Fri Jan 24, 2014 3:21 pm
by abrist
No problem. Cheers.