Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

check_ism

Rating
0 votes
Favoured:
0
Current Version
1.0
Last Release Date
2016-06-14
Compatible With
  • Nagios 4.x
Owner
License
GPL
Hits
6197
Files:
FileDescription
check_ism_v1.0.zipcheck_ism_v1.0.zip
Nagios CSP

Meet The New Nagios Core Services Platform

Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.

Monitoring Made Magically Better

  • Nagios Core on Overdrive
  • Powerful Monitoring Dashboards
  • Time-Saving Configuration Wizards
  • Open Source Powered Monitoring On Steroids
  • And So Much More!
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.
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)