fprintf(stderr,"%s: WARNING: could not obtain local domain name, local hostname (without domain name) will be used as subject specification\n",__func__);
}
/* Create first flow specification so that it can be filled-in
fprintf(stderr,"%s: WARNING: could not obtain local domain name, local hostname (without domain name) will be used as subject specification\n",__func__);
}
/* Check if specified values are within acceptable limits */
if(check_conf(&global_spec,flow_spec)<0){
...
...
@@ -123,6 +128,10 @@ int main(int argc, char *argv[])
__func__);
exit(-1);
}
p->subject_id=subject_id;
p->parameters_id=parameters_id;
}
/* Split string of protocols into individual protocols */
...
...
@@ -141,11 +150,6 @@ int main(int argc, char *argv[])
fprintf(stderr,"%s: WARNING: could not obtain local domain name or local domain and local hostname are too long together, using local hostname (without domain name) as subject specification\n",__func__);
fprintf(stderr,"\nFlow configuration can be specified by flow options on the command line (see below) or by configuration file or it can be read from MySQL. These three possibilities are mutually exclusive.\n");
fprintf(stderr,"\nGeneral options:\n");
fprintf(stderr," -h print this help message\n");
fprintf(stderr," -q or --no_stdout do not print results on stdout\n");
fprintf(stderr," --no_measure do not do measurements, use when you want to print already\n");
fprintf(stderr," measured results stored in MySQL or together with --conf-to-mysql when\n");
fprintf(stderr," you want to change measurement configuration in MySQL\n");
fprintf(stderr,"\nFlow options:\n");
fprintf(stderr," -n or --hostname <hostname> hostname of measurement station\n");
fprintf(stderr," (default local hostname)\n");
fprintf(stderr," -d or --device <device> device of measurement station\n");