Home Directory Addons Notifications Lametric Clock Notification

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

Lametric Clock Notification

Rating
0 votes
Favoured:
0
Current Version
1
Compatible With
  • Nagios 2.x
  • Nagios 3.x
Hits
4404
Files:
FileDescription
notify-lametric.zipHost and Service bash scripts.
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!
A simple bash script to send alerts to a Lametric clock.
*Requires IP address of clock (found in app) and GUID from the developer.lametric.com site. This functions locally only.
Note: Requires IP address of clock (found in app) and GUID from the developer.lametric.com site.

This functions locally only.

Place GUID and IP's of clocks in /opt/clocks and make sure it is readable by nagios.
- touch /opt/clocks
- chown nagios.nagios /opt/clocks
- chmod g+rw /opt/clocks
Unzip notify-lametric and place files in your nagios scripts folder.

Example of /opt/clocks file:
192.168.0.2 172636176226172612736fgf71612736asgd8671g28d67g8172ge8172g38e7
192.168.0.3 hh38uy1o98yu9128379879d8a7934h1o39480a9sjdp09qj20349j12093jhjh091
192.168.0.4 1lkalkhjaksjhdlkjhgdlfag3l389hlif7ehlfih3lifuhali437hrliahklajshdfhjkjh3hk2

Notification Example:
Service
/nagios/script/location/notify-service-clock "DivisionMini" "CPU" "Usage: 25%" OK
/nagios/script/location/notify-service-clock "DivisionMini" "CPU" "Usage: 65%" WARNING
/nagios/script/location/notify-service-clock "DivisionMini" "CPU" "Usage: 95%" CRITICAL
/nagios/script/location/notify-service-clock "DivisionMini" "CPU" "Usage: ??" UNKNOWN

Host
/nagios/script/location/notify-host-clock "DivisionMini" DOWN
/nagios/script/location/notify-host-clock "DivisionMini" UNKNOWN
/nagios/script/location/notify-host-clock "DivisionMini" UP