Software

check_ism

Description:

The script checks if the processes of I/CAD (Intergraphs Computer Aided
Dispatch, sold by Hexagon Safety & Infrastructure) started by ISM Intergraph Interface Service Manager) currently have the intended state. Depending on the type of process this means a warning or critical state is reached, if the process does not run on any machine, on two machines at the same time or on the backup server.

Current Version

1.0

Last Release Date

2016-06-14

Compatible With

  • Nagios 4.x

License

GPL


Project Files
Project Notes
Purpose ======= The script checks if the processes of I/CAD (Intergraphs Computer Aided Dispatch, sold by Hexagon Safety & Infrastructure) started by ISM Intergraph Interface Service Manager) currently have the intended state. Depending on the type of process this means a warning or critical state is reached, if the process does not run on any machine, on two machines at the same time or on the backup server. Requirements ============ The server running ISM needs the NSClient++ (https://www.nsclient.org/). On the Nagios server you must have the "check_nt" plugin installed. Installation ============ Put the check_ism script into the /usr/local/nagios/libexec directory. Usage ===== usage: $command -H1 -H2 -s [-w {1,2,s,d,n}] [-c {1,2,s,d,n}] [-p ] [-t ] -H1 hostname or ip address of first host to check -H2 hostname or ip address of second host to check -s processname to check -w warn if (optional) 1 service runs only on host1 2 service runs only on host2 s service runs only on one host but not both d service runs on both hosts n service runs neither on host1 nor or host2 combination also possible, e.g. d,n -c critical if (optional) 1 service runs only on host1 2 service runs only on host2 s service runs only on one host but not both d service runs on both hosts n service runs neither on host1 nor or host2 combination also possible, e.g. d,n -p port number (optional) -t timeout in seconds (optional) Examples: check_ism.pl -H1 sv001 -H2 sv003 -s listen.exe (only print the state) check_ism.pl -H1 172.27.5.1 -H2 172.27.5.2 -s patidokserver.exe -c n,d -w 1 (critical if the service is not running at all or running on both server, warn if running on server 1) check_ism.pl -H1 sv001 -H2 sv003 -s listen.exe -w s -c n (warn if the service is only running on one server, critical if not running at all)
Reviews (0) Add a Review
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
0 (0)
Favorites
0
Views
6,198