FAQ 3.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  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. Q: What version of <insert name> plugin am I running?
  9. A: All plugins that comply with minimal development guideline for
  10. this project include detailed version information. When executed
  11. with the '-V' option, a version string will be printed:
  12. check_radius v1.4.16 (nagios-plugins 1.4.16)
  13. All bug reports and help requests should reference this
  14. information.
  15. Q: What information do I need to include when asking for help or
  16. submitting a bug report?
  17. A: At a minimum, the output from 'uname -a' and the version string
  18. from '<plugin_name> -V' and, of course, a description of the
  19. problem and any solution/patch.
  20. Q: I'm using Redhat Linux (or some other RPM-based distribution).
  21. Which packages should I install?
  22. A: The package nagios-plugins-<version>.<arch>.rpm contains only
  23. those plugins that should work on any POSIX compliant system. In
  24. other words, you should be able to install this package on your
  25. system, no matter what else is or in not installed.
  26. However, most of us have more complex systems than barebones
  27. POSIX. We tried creating a variety of separate packages so
  28. each dependency could be installed cleanly, but many people
  29. found that this resulted in too many packages. So in the end,
  30. all the non-POSIX plugins were folded into one RPM
  31. (nagios-plugins-<version>.<arch>.rpm). Most people will need to
  32. use RPM's '--nodeps' option to install this package.
  33. Q: My system uses the .deb package format. What packages should I
  34. install?
  35. A: We strive for cooperation between all packagers and developers.
  36. The answers for .deb are the same as for RPM, after changing the
  37. package name suffixes accordingly.
  38. Q: I prefer to build my own RPMs. Do I need to install all of the
  39. various dependencies?
  40. A: Beginning with the 1.2.9-1 release, you may run
  41. rpm --define 'custom 1' -ta nagios-plugins-<release>.tar.gz
  42. In prior releases, you must unpack the tarball and build the
  43. RPM using nagios-custom.spec with 'rpm -ba'.
  44. Q: I get an error like
  45. Warning: Return code of 127 for check of service 'PING' on host 'anyhost' was out of bounds.
  46. when I run Nagios. (Often check_ping runs just fine on the
  47. command line).
  48. A: Commonly, system administrators will make security as tight as
  49. possible on the monitoring system. Sometimes this includes OS
  50. options or hardening scripts that prevent unprivileged users from
  51. running the ping command. Nagios runs with no more privileges
  52. than 'nobody' -- check to be sure that the nagios user can
  53. actually run check ping. (This can also happen with other binaries
  54. executed by nagios, but ping seems to be far and away the biggest
  55. offender.)
  56. Q: I have a plugin to offer. What can I do?
  57. A: You can make it available on NagiosExchange (http://nagiosexchange.org)
  58. where other people can find it for use.
  59. You can also get feedback on improving the plugin via the
  60. nagiosplug-devel@lists.sourceforge.net mailing list.