Skip to content

Nagios: AUTOMATION + Screenshots#18

Open
selegnasol wants to merge 2 commits into
StThomas-SEIS660:masterfrom
selegnasol:master
Open

Nagios: AUTOMATION + Screenshots#18
selegnasol wants to merge 2 commits into
StThomas-SEIS660:masterfrom
selegnasol:master

Conversation

@selegnasol

Copy link
Copy Markdown

This is my take on automating Nagios for future labs.

Prerequisites:

  • Put ManosConfig.sh under /home/vagrant [ManosXX]
  • Put NerviosConfig.sh under /home/vagrant [NerviosXX]

Proof: screenshots
Note: appending "> /dev/null 2>&1" to the end of a shell command suppresses console output.

@CharlesTBetz

Copy link
Copy Markdown

This is great. Sorry has taken so long but a few things. First, can you re-submit as a pull request to the main Calavera? https://github.com/CharlesTBetz/Calavera. Second, to run a .sh file as part of Vagrant provisioning requires update to Vagrantfile. We may want to look at doing this in Chef. Finally we can't have password prompt, so we need some workaround there, and I think that will be easier in Chef.

@CharlesTBetz

Copy link
Copy Markdown

OK, now that we have a dev branch on main - have a look at the Vagrantfile, this is where shell scripts are kicked off, and at the directory structure. We need to add a Nervios cookbook and a shared NagiosClient recipe that can be run by all nodes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants