
|
|
Owl Monitoring System
Manager Installation Manual
|
6. Changing Queries on Existing Owl Sensors
| 6.1. | | Adding New Queries |
| 6.2. | | Deleting Old Queries |
| | | |
From time to time, you might decide to change the queries being performed
by the Owl sensors. This could be adding new queries to some or all of the
sensors, stopping some of the queries from being performed, or modifying
existing queries. Regardless of the changes, there are actions that must
be taken on the Owl manager and all affected Owl sensors.
6.1. Adding New Queries
Adding new queries to the Owl manager is a matter of informing Nagios that it
should report on new data. This is accomplished by adding new Nagios objects
for the sensor. The following actions must be performed:
- Wait for the query changes to take place in the Owl sensor. You will
know this has happened when new sensor data files start appearing in the
sensor's data directory, if you are adding queries, or fewer data files
are arriving, if you are removing queries.
- Build new Nagios objects for the new queries' data files. This may be
most simply accomplished by rerunning owl-newsensor for the affected
sensor. This will rebuild all the sensor's Nagios objects, so you
must take this into account if you have made manual changes to the object
file. See section 4.7
and section 4.8
for more information on creating new Nagios objects.
- Perform the actions in
section 4.10.
in order to restart Nagios.
- With sensor query data arriving, you might want to consider modifying
your graphs to display the changes in sensor data. See
section 5
for information on defining graphs.
6.2. Deleting Old Queries
Deleting existing queries to the Owl manager is a matter of informing Nagios
that it should stop reporting on existing data. This is accomplished by
deleting Nagios objects for the sensor. The following actions must be
performed:
- Edit the Nagios object files to delete the objects for the unwanted
queries. See section
4.7 and section
4.8 for more information on Nagios objects.
- Perform the actions in
section 4.10
in order to restart Nagios.
After performing these steps, the old data files will still exist on the
manager. They can be archived or deleted as desired.
DNSSEC Tools