check_flashpolicyd.rb

Path: check_flashpolicyd.rb
Last Update: Wed Oct 07 21:43:09 +0100 2009

Synopsis

Simple nagios plugin to check the status of an Adobe Flash Policy server

Usage

check_flashpolicy —host HOSTNAME [—timeout TIMEOUT ]

—host HOSTNAME

  The server to check

—timeout TIMEOUT

  How long to wait to complete the transaction before assuming its critical. Default 5 seconds

—help

  Show this help

Author

R.I.Pienaar <rip@devco.net>

Required files

socket   timeout   getoptlong   rdoc/ri/ri_paths   rdoc/usage  

Methods

showhelp  

Public Instance methods

[Source]

    # File check_flashpolicyd.rb, line 35
35: def showhelp
36:         begin
37:                 require 'rdoc/ri/ri_paths'
38:                 require 'rdoc/usage'
39:                 RDoc::usage
40:         rescue Exception => e
41:                 puts("Install RDoc::usage or view the comments in the top of the script to get detailed help")
42:         end
43: end

[Validate]