Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
Lametric Clock Notification
*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
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
Reviews (0)
Be the first to review this listing!