Opened 11 years ago

Closed 11 years ago

Last modified 4 years ago

#967 closed enhancement (fixed)

New package: nagios-plugins

Reported by: martin@… Owned by: florian
Priority: low Milestone: Barrier Breaker 14.07
Component: packages Version:
Keywords: Cc:


This patch adds the nagios-plugins package. Check_disk and check_swap are disabled, the following plugins work correctly and are installed:

check_by_ssh, check_dns, check_ftp, check_http, check_imap, check_jabber, check_load, check_nntp, check_nntps, check_ntp, check_ping, check_procs, check_simap, check_smtp
check_spop, check_ssh, check_ssmtp, check_time, check_tcp, check_udp

If anyone could patch check_disk.c, so that it works, too, would be nice. But anyway, the other plugins are very nice, too. Works nicely with recently added package send-nsca.

Package for RC6:

Attachments (2)

nagios-plugins-1.4.5.patch (6.9 KB) - added by martin@… 11 years ago.
Nagios-plugins package
nagios-plugins-1.4.6.patch (7.0 KB) - added by martin@… 11 years ago.
Nagios-plugins 1.4.6 (for OpenWrt 0.9)

Download all attachments as: .zip

Change History (10)

Changed 11 years ago by martin@…

Nagios-plugins package

comment:1 Changed 11 years ago by florian

  • Owner changed from developers to florian
  • Status changed from new to assigned

comment:2 Changed 11 years ago by VincentFox

I have tested this package on RC6. One problem noted, check_procs doesn't work correctly.

Example: check_procs -v -v -v --command=dropbear
This will return 0 processes running, it's using "ps" with no arguments.

comment:3 Changed 11 years ago by VincentFox

Addendum to previous comment: Related to installed procps package. After removing procps command, the check_procs works, although --command option is not usable. And substituting usage of "-a" option inflates returned value by 2. So a check_procs -a dropbear will show 2 processes running since it finds the dropbear process, plus the ps for the dropbear process.

comment:4 Changed 11 years ago by florian

  • Milestone set to Kamikaze
  • Priority changed from normal to low

Changed 11 years ago by martin@…

Nagios-plugins 1.4.6 (for OpenWrt 0.9)

comment:5 Changed 11 years ago by martin@…

The new patch uses nagios-plugins 1.4.6 and works with procps, too.

To check agains a special process name, issue: /usr/libexec/nagios/check_procs -a [command or args]
The result is always 1 process more (because the check command itself is in the process list, too)

comment:7 Changed 11 years ago by florian

  • Resolution set to fixed
  • Status changed from assigned to closed

Added in [6594]

comment:8 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

as closed .
The resolution will be deleted. Next status will be 'reopened'.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.