blog:monitor_linux_network_interface_traffic_using_nagios
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
blog:monitor_linux_network_interface_traffic_using_nagios [2011-05-22 16:39] – brb | blog:monitor_linux_network_interface_traffic_using_nagios [2011-05-22 17:22] (current) – brb | ||
---|---|---|---|
Line 4: | Line 4: | ||
Here's the setup for debian systems: | Here's the setup for debian systems: | ||
- | * Download the [[http:// | ||
+ | ===== For all monitores systems ===== | ||
+ | Download the [[http:// | ||
+ | ===== On the nagios server only: ===== | ||
- | {{tag>}} | + | You need these commands to enable netio checking for a hostgroups based configuration. |
+ | |||
+ | < | ||
+ | # ' | ||
+ | define command{ | ||
+ | command_name ssh_netio | ||
+ | command_line / | ||
+ | } | ||
+ | define hostgroup { | ||
+ | hostgroup_name | ||
+ | } | ||
+ | define service{ | ||
+ | service_description | ||
+ | check_command | ||
+ | </ | ||
+ | |||
+ | |||
+ | To enable netio checking for a given host, add the entry '' | ||
+ | |||
+ | Restart nagios using ''/ | ||
+ | |||
+ | To enable nagiosgrapher display for the netio plugin copy the file [[: | ||
+ | |||
+ | Restart nagiosgrapher and control ''/ | ||
+ | |||
+ | Note: | ||
+ | * If you run a bastille hardened server, the plugin call by ssh may fail because ifconfig can't be executed. Test it using | ||
+ | ''/ | ||
+ | |||
+ | {{tag>nagios}} | ||
~~LINKBACK~~ | ~~LINKBACK~~ | ||
~~DISCUSSION~~ | ~~DISCUSSION~~ | ||
blog/monitor_linux_network_interface_traffic_using_nagios.1306075156.txt.gz · Last modified: 2011-05-22 16:39 by brb