02—xymon网络监控添加监控内容

02—xymon网络监控添加监控内容

ID:14309787

大小:243.68 KB

页数:5页

时间:2018-07-27

02—xymon网络监控添加监控内容_第1页
02—xymon网络监控添加监控内容_第2页
02—xymon网络监控添加监控内容_第3页
02—xymon网络监控添加监控内容_第4页
02—xymon网络监控添加监控内容_第5页
资源描述:

《02—xymon网络监控添加监控内容》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库

1、Xymon添加被监控的条目1)切换至xymon用户下,进入/home/xymon/server/etc目录,编辑vimhost.cfgsu-xymon/home/xymon/server/hobbit.shstart<==启动hobbit.sh服务,新版本为xymon.sh/home/xymon/client/runclient.shstart<==client暂时先忽略everythingworkingperfectlysoclient-serveronthefedorahostisrunningnowItookthe

2、/home/xymon/clientdirectoryandcopiedittoanotherhost,firstIhadtocreatethexymonuserthereontheserver,appendtheclientipandhostnameto/home/xymon/server/etc/hosts.cfg<==vim编辑hosts.cfgsamplehosts.cfgFile如下例子添加需要监控的主机、网络、系统服务,最好分页监控.注意page和group的用法group-compress

We

3、bpages

xxx.xxx.xxx.xxxxxx.gate.io#http://xxx.gate.ionoconnnopingnoinfonotrendsxxx.xxx.xxx.xxxxxx1.gate.io#http://xxx1.gate.ionoconnnopingnoinfonotrendsxxx.xxx.xxx.xxxxxx2.gate.io#http://xxxnoconnnopingnoinfonotrendstitle

Systems

group-compre

4、ssxymonserverxxx.xxx.xxx.xxxxxx.gate.local#bbdhttp://usfed01/CLIENT:usfed01group-compresslinux192.168.1.1root.gate.local#CLIENT:xxxxxx.xxx.xxx.xxxxxx.gate.local#CLIENT:xxxgroup-compresswindowsxxx.xxx.xxx.xxxxxx.gate.local#CLIENT:xxxconfigureiptablesifinstalled,fo

5、rport1984tcp,thatsthedefaultportstarttheclientdone!sinceserver/clientwascompiledon64bitfedora,fora32bitclient,youneedtorecompiletheclientona32bitsystemSecurityissuesyouneedtosetaadminuserfortheadminpanel,andbetterlockthepageforexternalaccess,iptablesorhtaccessisq

6、uiteokhtpasswd-c/home/xymon/server/etc/hobbitpasswdUSERNAMEandaddAuthUserFile/home/xymon/server/etc/hobbitpasswdAuthGroupFile/home/xymon/server/etc/hobbitgroupsAuthTypeBasicAuthName"XymonAdministration"tothexymondirectoryinhttpd.confsoyouusethesameusernametoenter

7、thepageandusetheadminpanel1)开启服务器自动启动服务ServerAutostartredhat/fed/centos如下脚本适合Redhat、fed、CentOS三个操作系统{CODE{}}cpxymon-4.2.2/rpm/hobbit-init.d/etc/init.d/xymonchkconfig--levels3xymonon{CODE}settheDAEMONvariableinthescript,andifit'snotworking,trytoreplace"su-c"with"s

8、u-xymon-c"2)Clientinstallation客户端的安装WindowsClient:从下面网站下载关于client的组件,安装在客户端机上,设定连接服务器的ipaddress,并添加需要监控的项目,如硬盘,内存,CPU,服务等等projectpage:http://sourceforge.net/pr

当前文档最多预览五页,下载文档查看全文

此文档下载收益归作者所有

当前文档最多预览五页,下载文档查看全文
温馨提示:
1. 部分包含数学公式或PPT动画的文件,查看预览时可能会显示错乱或异常,文件下载后无此问题,请放心下载。
2. 本文档由用户上传,版权归属用户,天天文库负责整理代发布。如果您对本文档版权有争议请及时联系客服。
3. 下载前请仔细阅读文档内容,确认文档内容符合您的需求后进行下载,若出现内容与标题不符可向本站投诉处理。
4. 下载文档时可能由于网络波动等原因无法下载或下载错误,付费完成后未能成功下载的用户请联系客服处理。