发现有人在白嫖,但我依然发布了最新源码

2020-03-29 11:34:44 +08:00
 tianshiyeben

WGCLOUD 监控系统,v2.3.5 源码

https://github.com/tianshiyeben/wgcloud

https://gitee.com/wanghouhou/wgcloud

PS:白嫖是指不遵守开源精神

12931 次点击
所在节点    程序员
51 条回复
james122333
2020-03-29 14:29:12 +08:00
说实话用了别人的还不帮别人推广实在糟糕
太好的的确闭源的好
james122333
2020-03-29 14:39:05 +08:00
这协议挺好 可以不要利 但要名
hotcool100
2020-03-29 14:53:41 +08:00
一些人不光白嫖,还明目张胆的
superrichman
2020-03-29 15:27:04 +08:00
1000star,200fork,但 issue 只有 7 个?这是怎么做到的
ipixeloldc
2020-03-29 15:49:10 +08:00
@RickyC 就连 MIT 也保护作者版权啊,这些开源协议规定的不只是使用权吗?和版权没关系啊
tojonozomi
2020-03-29 15:54:36 +08:00
@superrichman 我这边看是 0 issue
james122333
2020-03-29 16:03:39 +08:00
写的好就是要藏起来 不然容易发生这种事情 别人也不当一回事
被注重了日子肯定不用愁
superrichman
2020-03-29 16:50:03 +08:00
@tojonozomi 0 个是 open 状态的,另外有 7 个 closed issue
ryan93
2020-03-29 17:18:38 +08:00
在树莓派上运行,server 端日志没报错,agent 得到以下日志:

2020-03-29 17:08:33.747 [main] INFO com.wgcloud.WgcloudServiceApplication - Starting WgcloudServiceApplication vrelease on raspberrypi with PID 31183 (/home/pi/wgcloud-v2.3.5/wgcloud-agent/wgcloud-agent-release.jar started by pi in /home/pi/wgcloud-v2.3.5/wgcloud-agent)
2020-03-29 17:08:33.782 [main] INFO com.wgcloud.WgcloudServiceApplication - No active profile set, falling back to default profiles: default
2020-03-29 17:08:48.428 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer - Tomcat initialized with port(s): 9998 ( http)
2020-03-29 17:08:48.727 [main] INFO org.apache.catalina.core.StandardService - Starting service [Tomcat]
2020-03-29 17:08:48.730 [main] INFO org.apache.catalina.core.StandardEngine - Starting Servlet engine: [Apache Tomcat/9.0.16]
2020-03-29 17:08:48.856 [main] INFO org.apache.catalina.core.AprLifecycleListener - The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: [/home/pi/wgcloud-v2.3.5/wgcloud-agent/lib/]
2020-03-29 17:08:49.470 [main] INFO o.a.c.c.C.[Tomcat].[localhost].[/wgcloud-agent] - Initializing Spring embedded WebApplicationContext
2020-03-29 17:08:49.472 [main] INFO org.springframework.web.context.ContextLoader - Root WebApplicationContext: initialization completed in 14983 ms
2020-03-29 17:08:50.511 [main] INFO o.s.scheduling.concurrent.ThreadPoolTaskScheduler - Initializing ExecutorService 'taskScheduler'
2020-03-29 17:08:52.443 [main] INFO o.s.scheduling.concurrent.ThreadPoolTaskExecutor - Initializing ExecutorService 'applicationTaskExecutor'
2020-03-29 17:08:58.472 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer - Tomcat started on port(s): 9998 ( http) with context path '/wgcloud-agent'
2020-03-29 17:08:58.490 [main] INFO com.wgcloud.WgcloudServiceApplication - Started WgcloudServiceApplication in 32.913 seconds (JVM running for 39.885)
2020-03-29 17:09:54.543 [taskScheduler-2] ERROR o.s.s.support.TaskUtils$LoggingErrorHandler - Unexpected error occurred in scheduled task.
java.lang.UnsatisfiedLinkError: org.hyperic.sigar.SysInfo.gather(Lorg/hyperic/sigar/Sigar;)V
at org.hyperic.sigar.SysInfo.gather(Native Method)
at org.hyperic.sigar.OperatingSystem.getInstance(OperatingSystem.java:92)
at com.wgcloud.SigarUtil.<clinit>(SigarUtil.java:31)
at com.wgcloud.ScheduledTask.minTask(ScheduledTask.java:66)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.springframework.scheduling.support.ScheduledMethodRunnable.run(ScheduledMethodRunnable.java:84)
at org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
2020-03-29 17:11:24.209 [taskScheduler-3] ERROR o.s.s.support.TaskUtils$LoggingErrorHandler - Unexpected error occurred in scheduled task.
java.lang.NoClassDefFoundError: Could not initialize class com.wgcloud.SigarUtil
at com.wgcloud.ScheduledTask.minTask(ScheduledTask.java:66)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.springframework.scheduling.support.ScheduledMethodRunnable.run(ScheduledMethodRunnable.java:84)
at org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)

是不支持 debian 或者 arm ?
tianshiyeben
2020-03-29 17:25:56 +08:00
@superrichman 很多人喜欢直接发消息或邮件,issues 我也鼓励大家去提,反正少
tianshiyeben
2020-03-29 17:34:03 +08:00
@ryan93 应该是这个问题。回头我测试下。
mritd
2020-03-29 17:51:52 +08:00
@ryan93 #29 java 写的 你确定在 树莓派上弄?实时的话 https://github.com/netdata/netdata 真正监控系统估计应该上 普罗米修斯;其实说实话 我很是不理解这东西真的有人用么... 感觉系统塞个 java 上去本身体积就不小了,而且目前来看这些监控传统工具 zabbix 啥的都应该能做,也没有太大的扩展能力
mritd
2020-03-29 17:52:31 +08:00
而且这个 mysql 存储... 难不成还得为 mysql 搞 HA 么...
vinsa
2020-03-29 18:34:09 +08:00
楼主向前看,开源是一种历练过程。
目前这个的确离实用还有距离,要是真的有人用,应该是开心才对。
Cu635
2020-03-29 18:36:36 +08:00
@RickyC
看开源协议,大部分是“随便转发, 随便发”的,但是“随便用”得看怎么说:基本上都要求保留署名,不能说是你自己的;而且大多数也是要求不能闭源。
当然,也有 WTFPL 这种“随便用”的。
Caan07
2020-03-29 19:46:52 +08:00
@RickyC #15 我觉得作者的重点是“尊重他的创作,不要拿去用还抹干净。”
JoostShao
2020-03-29 20:43:12 +08:00
你这莫不是反向运营推销你的“开源项目”吧,嫌疑很重,没必要老发,发多了,白嫖也会变味
james122333
2020-03-29 21:08:42 +08:00
不能闭源那一堆产品炸掉了 一堆都是可以闭源
楼主作法很合理 做了底 其他需求联系作者 自改也要署名
说到这其实很多语言吃亏在这 一堆云机器 只能开源放上去管机器的占优
私下研究也不会告诉你 整套自己弄的也没理由要开吧
guojiaxiang
2020-03-29 21:26:38 +08:00
有个疑问,github 上代码就算有协议受国内法律保护吗?
weipt
2020-03-29 22:26:56 +08:00
楼主,未免把自己看得太高了吧,不想开源的话就不要放到 git 上吧,说什么白嫖,太难听了。你觉得你写的东西很棒吗?别人很在意吗?

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://tanronggui.xyz/t/657232

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX