adding multiple switches in switch.cfg
-
bsudhakar81
- Posts: 7
- Joined: Tue May 28, 2019 10:24 am
adding multiple switches in switch.cfg
can anyone help me with example format for adding multiple switches in switch.cfg file. By default it is monitoring only single switch.
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: adding multiple switches in switch.cfg
Hi @bsudhakar81,
Below is a link to the Nagios Core documentation for monitoring routers and switches as well as the documentation for creating Nagios Core objects.
After creating the additional host/service definitions in switch.cfg, you'll need to re-start the nagios process.
Nagios Core: Monitoring Routers and Switches
Nagios Core: Object Definitions
Hopefully, that will help get you started, and let me know if you have any specific questions.
Below is a link to the Nagios Core documentation for monitoring routers and switches as well as the documentation for creating Nagios Core objects.
After creating the additional host/service definitions in switch.cfg, you'll need to re-start the nagios process.
Nagios Core: Monitoring Routers and Switches
Nagios Core: Object Definitions
Hopefully, that will help get you started, and let me know if you have any specific questions.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
bsudhakar81
- Posts: 7
- Joined: Tue May 28, 2019 10:24 am
Re: adding multiple switches in switch.cfg
am able to do it by adding entries in switch.cfg.
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: adding multiple switches in switch.cfg
Yes. That will be ok. Remember to restart nagios after making any changes,am able to do it by adding entries in switch.cfg.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!