Juniper

check_srx_cluster

Description:

Check Juniper SRX firewall cluster status by SSH

Current Version

1.1

Last Release Date

2013-01-22

Compatible With

  • Nagios 2.x
  • Nagios 3.x

License

GPL


Project Files
Project Notes
This check plugin is intended to check Juniper SRX firewall cluster status. I needed this as I couldn't read the documented SNMP id (e.g. .1.3.6.1.2.1.15.3.1.2) as this is not present on my equipment somehow. (SRX240B) This script is an expect script so you have to have expect and ssh installed. Syntax of the script: check_srx_cluster {HOSTADDRESS} {prompt} {loginuser} {loginpassword} e.g.: ./check_srx_cluster 1.2.3.4 srxfw nagios verysecret Hhere is the example for the prompt: nagios@srxfw> in this case {prompt} will be 'srxfw' You need to configure a command in nagios: define command { command_name check_srx_cluster command_line $USER2$/check_srx_cluster $HOSTADDRESS$ $ARG1$ $ARG2$ $ARG3$ } And a service for the firewall host: define service { service_description CLUSTER_STATUS host_name srxfw use generic-service check_command check_srx_cluster!srxfw!nagios!verysecret check_interval 15 stalking_options o,w,c } Hope you enjoy this! :)
Reviews (1) Add a Review
command line is working OK - but connection timed out at GUI
by htaujami, February 29, 2016

Command line is working OK - but connection timed out at GUI. I have turned on extensive debug login - couldnt find any issue on the command execution but its showing connection timed out at GUI. Could anyone please help on this?



Add a Review

You must be logged in to submit a review.

Thank you for your review!

Your review has been submitted and is pending approval.

Recommend

To:


From:


Thank you for your recommendation!

Your recommendation has been sent.

Project Stats
Rating
3 (1)
Favorites
0
Views
48,831