Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initial commit of check_firewall_active #28

Merged
merged 4 commits into from
Dec 21, 2016
Merged

Conversation

richard-allen
Copy link
Contributor

Hey ég var að bæta við ógeðslega flottum fídus bla eitthvað! :)

@richard-allen
Copy link
Contributor Author

Hey @samueljon @gardart @tryggvi review plz... ;)

Copy link

@samueljon samueljon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Smá athugsemd

exit $EXIT_CRIT
fi

echo "OK: Firewall is active"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Er þetta skilaboðin sem fara tilbaka til nagios ? @gardart @richard-allen @tryggvi

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Já, þetta er status output sem birtist í nagios

@gardart
Copy link
Contributor

gardart commented Dec 21, 2016

Þetta lítur vel út

@@ -0,0 +1,3 @@


command[check_firewall_active]=sudo /usr/lib/nagios/plugins/check_firewall_active.sh
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

það þarf að laga plugins pathinn -> /usr/lib64

@@ -0,0 +1,2 @@
Defaults:nrpe !requiretty
nrpe ALL = (root) NOPASSWD: /usr/lib/nagios/plugins/check_firewall_active.sh
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

það þarf að laga plugins pathinn -> /usr/lib64

Release: 1%{?dist}
License: GPLv2+
Group: Applications/System
URL: http://opensource.is/trac/wiki/check_firewall_active
Copy link

@samueljon samueljon Dec 21, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@samueljon
Copy link

Approved for merging.

@samueljon samueljon merged commit 3501677 into master Dec 21, 2016
@hakong
Copy link
Contributor

hakong commented Dec 21, 2016

Thinking out loud:
Is this check adequate? I had a nagios check for iptables that compares the checksums of rules on disk vs. in memory. This way I'm also notified if a change is made and not saved to disk.

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.

None yet

4 participants