Home Directory Utilities NagHostGen

Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com


Remember Me


0 votes
Compatible With
  • Nagios 3.x

Help Support Ethan Galstad's New Project:

Help Support Ethan

A Message From The Founder...

As the founder of Nagios, I'm asking for your help in a cause that's dear to my heart.

I'm launching a new project to help better the world by providing the information, ideas, and inspiration that I believe can improve the lives of people everywhere.

I know you're busy managing networks, but I would appreciate it if you would consider liking my Facebook page and showing your support for the content and messages I produce by sharing them with your friends and family.

You can learn more about my project by visiting ethangalstad.me/nagios. Thank you for your time. I wish you all the best in your endeavors, whatever they may be.

- Ethan

Automatically locate and define hosts on your network.
Optionally inherit a set of windows services, and define the hosts to accept passive checks for distributed monitoring.
Generates a hosts.cfg file based on your variables.

Generates a hosts.cfg file and a windows-services.cfg file, defined hosts inherit the services defined in windows-services.cfg via the windows-servers hostgroup.

generates a hosts.cfg file and a hostgroup-hosts.cfg file. The hosts.cfg file is meant to be used on the local nagios server, while hostgroup-hosts.cfg is meant to be added to the configuration on a remote nagios server, which will receive checks passively.

How to use:
1) Mark as executable (chmod +x NagHostGen)
2) Run the script you want to use (./NagHostGen)
3) Answer a few questions about you're setup
4) Profit

These were designed to expedite deployment of a large distributed monitoring setup, and to simplify adding additional sites. However the first two should make the initial setup of any Nagios deployment much quicker and easier, while the third is not of much use outside of a distributed monitoring setup.