summaryrefslogtreecommitdiffstats
path: root/plugins/sadf.py
Commit message (Collapse)AuthorAgeFilesLines
* gluster-nagios-addons: Fix for improper display of error message.ndarshan2014-05-201-2/+2
| | | | | | | | | | | | Fixed the issue with error message which was displayed when exception was raised. Change-Id: I73400111c8031b269edc32c2e9d387369aeea445 Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1094765 Signed-off-by: ndarshan <dnarayan@redhat.com> Reviewed-on: http://review.gluster.org/7793 Reviewed-by: Bala FA <barumuga@redhat.com> Reviewed-by: Sahina Bose <sabose@redhat.com>
* network: show only interfaces having IP addressesBala.FA2014-05-161-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | Network plugin for Nagios provides status and performance data of network interfaces. By default, it provides details of all the interfaces having IP addresses The plugin can be used to get status of specific interface: $ python network.py -i em1 get status except specific interface: $ python network.py -e em1 get status of all interfaces: $ python network.py -a Change-Id: If3cc2e4c00c866ce1a3c839a643d63b1e23ff8ea Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1085237 Signed-off-by: Bala.FA <barumuga@redhat.com> Reviewed-on: http://review.gluster.org/7588 Reviewed-by: Sahina Bose <sabose@redhat.com> Tested-by: Sahina Bose <sabose@redhat.com>
* plugins:Fix to handle sadf not accepting time range, test case additionndarshan2014-04-291-270/+44
| | | | | | | | | | | | | This patch handles the issue of sadf not accepting time range when used with -x (xml output) option(seen in version 9.0.4). Added unit-test for memory, cpu, swap, network plugins and refactored them. Change-Id: Ie7c2ecfbb38060f236a6faed606bce0aedd27d7a Signed-off-by: ndarshan <dnarayan@redhat.com> Reviewed-on: https://cuckoo.blr.redhat.com:8443/14 Reviewed-by: Bala FA <barumuga@redhat.com> Tested-by: Bala FA <barumuga@redhat.com>
* plugins: import plugins from githubBala.FA2014-04-291-0/+328
All plugins are imported from https://github.com/gluster-rhsc/nagios-plugin.git Change-Id: I9880becafccc79280873039e317b4afde747806c Signed-off-by: Bala.FA <barumuga@redhat.com> Reviewed-on: https://cuckoo.blr.redhat.com:8443/4