Lots of Nagios tutorials refer to how to add one device...say for example switches.
So within /usr/local/nagios/etc/objects/switch.cfg you can define groups, hosts and services, though this is commented as a sample file for switches...
Do you put every switch in here, or have a separate cfg files within sub-folders for switches, servers, etc with lots of 'define_host' statements in one and 'define service' statements in the other?
Keen to hear the way others do it as I would like to start as I mean to go on and keep it organised and easy to maintain.
Ta![Big Grin :D :D](/styles/default/xenforo/vbSmilies/Normal/biggrin.gif)
So within /usr/local/nagios/etc/objects/switch.cfg you can define groups, hosts and services, though this is commented as a sample file for switches...
Do you put every switch in here, or have a separate cfg files within sub-folders for switches, servers, etc with lots of 'define_host' statements in one and 'define service' statements in the other?
Keen to hear the way others do it as I would like to start as I mean to go on and keep it organised and easy to maintain.
Ta
![Big Grin :D :D](/styles/default/xenforo/vbSmilies/Normal/biggrin.gif)