nagios-安装配置
怎样快速增加real server配置文件
编写插件 nagios是插件式的、
yum install nagios ,nagios-plugins-all
yum instal nagios
yum install nagios-plugins-all
service nagios restart
ps -ef |grep nagios
/etc/init.d/httpd restart
mv django.conf django.bak
nagiosadmin nagiosadmin
定义主机要使用模板
为其他主机使用模板
vim /etc/rc.local
cd /root/devops/day3/simplecmdb/
#gunicorn simplecmdb.wsgi:application -D 注释掉,不让启动
1031 ps -ef |grep guni
1032 kill -9 15471
1033 kill -9 16471
python manage.py runserver 0.0.0.0:8000
访问url
http://192.168.17.139:8000/hostinfo/getjson/
posted on 2018-01-10 22:10 linux-paul 阅读(89) 评论(0) 编辑 收藏 举报