4
0

FAQ 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  1. Frequently Asked Questions
  2. **************************
  3. Q: Where can I find documentation for <insert name> plugin?
  4. A: All plugins that comply with minimal development guideline for
  5. this project include internal documentation. The documentation
  6. can be read executing plugin with the -h or --help option. If
  7. the '-h' option does not work, that is a bug.
  8. Additionally, the man pages for the plugins are available on the
  9. nagios-plugins website at:
  10. http://nagios-plugins.org/doc/man/index.html
  11. Q: What version of <insert name> plugin am I running?
  12. A: All plugins that comply with minimal development guideline for
  13. this project include detailed version information. When executed
  14. with the '-V' option, a version string will be printed:
  15. check_radius v2.0 (nagios-plugins 2.0)
  16. All bug reports and help requests should reference this
  17. information.
  18. Q: What information do I need to include when asking for help or
  19. submitting a bug report?
  20. A: At a minimum, the output from 'uname -a' and the version string
  21. from '<plugin_name> -V' and, of course, a description of the
  22. problem and any solution/patch.
  23. Q: I'm using Redhat Linux (or some other RPM-based distribution).
  24. Which packages should I install?
  25. A: The package nagios-plugins-<version>.<arch>.rpm contains only
  26. those plugins that should work on any POSIX compliant system. In
  27. other words, you should be able to install this package on your
  28. system, no matter what else is or in not installed.
  29. However, most of us have more complex systems than barebones
  30. POSIX. We tried creating a variety of separate packages so
  31. each dependency could be installed cleanly, but many people
  32. found that this resulted in too many packages. So in the end,
  33. all the non-POSIX plugins were folded into one RPM
  34. (nagios-plugins-<version>.<arch>.rpm). Most people will need to
  35. use RPM's '--nodeps' option to install this package.
  36. Q: My system uses the .deb package format. What packages should I
  37. install?
  38. A: We strive for cooperation between all packagers and developers.
  39. The answers for .deb are the same as for RPM, after changing the
  40. package name suffixes accordingly.
  41. Q: I prefer to build my own RPMs. Do I need to install all of the
  42. various dependencies?
  43. A: Beginning with the 1.2.9-1 release, you may run
  44. rpm --define 'custom 1' -ta nagios-plugins-<release>.tar.gz
  45. In prior releases, you must unpack the tarball and build the
  46. RPM using nagios-custom.spec with 'rpm -ba'.
  47. Q: I get an error like
  48. Warning: Return code of 127 for check of service 'PING' on host
  49. 'anyhost' was out of bounds.
  50. when I run Nagios. (Often check_ping runs just fine on the
  51. command line).
  52. A: Commonly, system administrators will make security as tight as
  53. possible on the monitoring system. Sometimes this includes OS
  54. options or hardening scripts that prevent unprivileged users from
  55. running the ping command. Nagios runs with no more privileges
  56. than 'nobody' -- check to be sure that the nagios user can
  57. actually run check ping. (This can also happen with other binaries
  58. executed by nagios, but ping seems to be far and away the biggest
  59. offender.)
  60. Q: I have a plugin to offer. What can I do?
  61. A: Contact a nagios-plugins team member in one of the following ways:
  62. a) Forums:
  63. http://support.nagios.com/forum/viewforum.php?f=35
  64. b) Mailing-list:
  65. http://lists.nagios.com/mailman/listinfo/nagiosplugin-devel
  66. c) Github:
  67. https://github.com/nagios-plugins/nagios-plugins
  68. d) If all else fails, post it to the Nagios Exchange:
  69. http://exchange.nagios.org/
  70. You can also get feedback on improving the plugin via any of the
  71. methods above.