This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.
Max gerrit-no-reply at lists.osmocom.orgMax has uploaded this change for review. ( https://gerrit.osmocom.org/11880 Change subject: Update default config ...................................................................... Update default config Rename default config to match the binary name and add config exampe. Change-Id: Iabfc78c95e904af7372f10c195b2b979675d34f3 Related: SYS#2655 --- M configure.ac A doc/Makefile.am A doc/examples/Makefile.am A doc/examples/osmo-sysmon.cfg M osysmon_main.c 5 files changed, 16 insertions(+), 1 deletion(-) git pull ssh://gerrit.osmocom.org:29418/osmo-sysmon refs/changes/80/11880/1 diff --git a/configure.ac b/configure.ac index 7f5ae80..13082b7 100644 --- a/configure.ac +++ b/configure.ac @@ -127,4 +127,6 @@ AM_CONFIG_HEADER(config.h) AC_OUTPUT( + doc/Makefile + doc/examples/Makefile Makefile) diff --git a/doc/Makefile.am b/doc/Makefile.am new file mode 100644 index 0000000..aee2d7b --- /dev/null +++ b/doc/Makefile.am @@ -0,0 +1 @@ +SUBDIRS = examples diff --git a/doc/examples/Makefile.am b/doc/examples/Makefile.am new file mode 100644 index 0000000..cf728a4 --- /dev/null +++ b/doc/examples/Makefile.am @@ -0,0 +1,7 @@ +examples_sysmondir = $(docdir)/examples/osmo-sysmon +examples_sysmon_DATA = osmo-sysmon.cfg + +osmoconfdir = $(sysconfdir)/osmocom +osmoconf_DATA = osmo-sysmon.cfg + +EXTRA_DIST = osmo-sysmon.cfg diff --git a/doc/examples/osmo-sysmon.cfg b/doc/examples/osmo-sysmon.cfg new file mode 100644 index 0000000..933df93 --- /dev/null +++ b/doc/examples/osmo-sysmon.cfg @@ -0,0 +1,5 @@ +ctrl-client bsc 127.0.0.1 4249 + get-variable bts_connection_status + get-variable msc.0.connection_status +netdev eth0 +netdev tun0 diff --git a/osysmon_main.c b/osysmon_main.c index 98859ed..5983212 100644 --- a/osysmon_main.c +++ b/osysmon_main.c @@ -70,7 +70,7 @@ }; -static const char *config_file = "osysmon.cfg"; +static const char *config_file = "osmo-sysmon.cfg"; struct osysmon_state *g_oss; -- To view, visit https://gerrit.osmocom.org/11880 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-sysmon Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: Iabfc78c95e904af7372f10c195b2b979675d34f3 Gerrit-Change-Number: 11880 Gerrit-PatchSet: 1 Gerrit-Owner: Max <msuraev at sysmocom.de> -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20181122/98078e56/attachment.htm>