Nagios Plugins Downloads
Stable Release
The current stable Nagios Plugins release is 2.4.5. You can grab the source tarball from here:
See the release history for an overview of changes between earlier versions. Previous releases can be found at our GitHub Releases page. Releases can be found in the download area.
Nagios::Monitoring::Plugin
The Nagios::Plugin module is available from CPAN:
NagiosMIB
The current NagiosMIB tarball is available from here:
Old versions can be found within the download area.
Hi,
Do you plan on creating a source rpm or a spec file for the 2.0 release so I can build this against our Rhel images?
Chris
Unfortunately, in the new Nagios Plugins 2.0.1, there is an error with Reverse Lookups:
./check_dns -s {dnsserver} -H {hostip}
DNS OK: 0,012 seconds response time. {hostip} returns |time=0,011751s;;;0,000000
* First, Plugin tells that {hostip} returns …, but {dnsserver} returns this!!!
* Second, Plugin returns empty string for reverse lookups!!!
Error in Monitoring Web View:
DNS CRITICAL – expected ‘{hostname}.’ but got ”
Command definition:
check_dns -s $HOSTADDRESS$ -H $ARG1$ -a $ARG2$ -w 1 -c 2 -t 5
Command call:
check-dns!{hostip}!{hostname}
Control with nslookup:
nslookup {hostip} {dnsserver}
Server: {dnsserver}
Address: {dnsserver}#53
{reversehostip}.in-addr.arpa name = {hostname}.
Thanks for the note, I will take a look into this. For future reference, submitting an issue on github for things like this are generally quicker to get a resolution.
Tried to compile but came across an old issue:
https://github.com/evgeni/monitoring-plugins/commit/c576d7af0b062f783bb1a1c36f985245e25d4734
Has this been re-introduced?
I updated as per original defect || to or’s and compiles ok.
This is actually a new issue due to added code not altered code. Might I ask what OS and version of perl you are using that does not support ||? Regardless we will take a look into resolving this, thanks for the heads up!
Great tool for monitoring websites
Hi,
There seems to be a few syntax error lines in check_mailq script on lines
613
614
618
619
623
remove the word(s) at the begininng of the line up to the elsif or || and then it runs fine.
What OS/distro are you compiling on? Do you have GNU awk (gawk), or mawk?
Hi! Same problem (
||' instead of
or’) here.I’m using Ubuntu 12.04 “Precise”.
awk' is
mawk’ 1.3.3 Nov 1996. `perl’ is v5.14.2. (Both are the latest, standard Ubuntu packages).As others previously pointed out, it’s pretty easy to fix the problem; however, I’ve left a patch [http://pastebin.com/FF6RcWQ2] in case anyone needs it.
Regards!
The only issue is that the patch will break with those using mawk instead of gawk. I committed a branch with the monitoring-plugins patches to remove the ugly awk script and use FindBin instead. You can find the branch: https://github.com/nagios-plugins/nagios-plugins/tree/findbin