Skip to content

Instantly share code, notes, and snippets.

@ajohnstone
Created November 9, 2012 16:26
Show Gist options
  • Save ajohnstone/4046658 to your computer and use it in GitHub Desktop.
Save ajohnstone/4046658 to your computer and use it in GitHub Desktop.
mysql> SELECT * FROM icinga_commands WHERE command_line LIKE '%check_ntp_time%';
+------------+-------------+-------------+-----------+-----------------------------------------+
| command_id | instance_id | config_type | object_id | command_line |
+------------+-------------+-------------+-----------+-----------------------------------------+
| 95 | 1 | 0 | 95 | $USER1$/check_ntp_time -H $HOSTADDRESS$ |
| 301 | 1 | 1 | 95 | $USER1$/check_ntp_time -H $HOSTADDRESS$ |
+------------+-------------+-------------+-----------+-----------------------------------------+
2 rows in set (0.02 sec)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment