Good morning,
is it possibile to add a new file object file (.cfg) for specific devices. For example I would like to monitor the ping service on IP cameras. Is it possible to create a camera.cfg file inside the object folder and then include it in nagios as separeted file?
Object file
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Object file
In the nagios.cfg if the objects directory is listed as a cfg_dir then you can simply create the file
Otherwise you can also just add the file in the nagios.cfg as something like
Then restart nagios
Otherwise you can also just add the file in the nagios.cfg as something like
Code: Select all
cfg_file=/usr/local/nagios/etc/objects/camera.cfg