X-Git-Url: https://arthur.barton.de/gitweb/?p=netdata.git;a=blobdiff_plain;f=src%2Ffreeipmi_plugin.c;h=ce3ddd844f04a9ba3df8823d405803acdd83cd3b;hp=f541acd4135f88baf6a2b432cadbe3ab77683a4e;hb=599dc4914ebba6ba0a7dc3800554dcd1c27b9b36;hpb=f036dc28a7fdafa48ea3c0d18eee2ba640744daf diff --git a/src/freeipmi_plugin.c b/src/freeipmi_plugin.c index f541acd4..ce3ddd84 100644 --- a/src/freeipmi_plugin.c +++ b/src/freeipmi_plugin.c @@ -1438,6 +1438,14 @@ int main (int argc, char **argv) { debug = 1; continue; } + else if(strcmp("sel", argv[i]) == 0) { + netdata_do_sel = 1; + continue; + } + else if(strcmp("no-sel", argv[i]) == 0) { + netdata_do_sel = 0; + continue; + } else if(strcmp("-h", argv[i]) == 0 || strcmp("--help", argv[i]) == 0) { fprintf(stderr, "\n" @@ -1449,6 +1457,8 @@ int main (int argc, char **argv) { "Available options:\n" " NUMBER, sets the data collection frequency\n" " debug, enables verbose output\n" + " sel, enable SEL collection (it is on by default)\n" + " no-sel, disable SEL collection\n" " hostname X, sets the remote host to connect to\n" " username X, sets the username to authenticate at the remote host\n" " password X, sets the password to authenticate at the remote host\n"