Difference between revisions of "Nagios CentOS install"
From Teknologisk videncenter
m (Centos Nagios install moved to Nagios CentOS install) |
m |
||
Line 4: | Line 4: | ||
[root@merkur tmp]# <input>yum clean all</input> | [root@merkur tmp]# <input>yum clean all</input> | ||
[root@merkur tmp]# <input>yum install nagios nagios-plugins nagios-plugins-nrpe nagios-devel</input> | [root@merkur tmp]# <input>yum install nagios nagios-plugins nagios-plugins-nrpe nagios-devel</input> | ||
+ | </source> | ||
+ | == Password == | ||
+ | <source lang=cli> | ||
+ | [root@merkur tmp] <input>htpsswd -c /etc/nagios/htpasswd.users nagiosadmin</input> | ||
+ | New password: <input>l8heise</inupt> | ||
+ | password: <input>l8heise</inupt> | ||
+ | </source> | ||
+ | == http config == | ||
+ | * Linien til nagios udkommenteres i /etc/httpd/conf/http.conf | ||
+ | |||
+ | == start apache og nagios == | ||
+ | <source lang=cli> | ||
+ | [root@merkur tmp]# <input>service httpd start</input> | ||
+ | [root@merkur tmp]# <input>service nagios start</input> | ||
</source> | </source> | ||
{{#css: | {{#css: |
Revision as of 13:00, 9 November 2009
[root@merkur tmp]# <input>yum update</input>
[root@merkur tmp]# <input>rpm -Uhv http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.3.6-1.el5.rf.i386.rpm</input>
[root@merkur tmp]# <input>yum clean all</input>
[root@merkur tmp]# <input>yum install nagios nagios-plugins nagios-plugins-nrpe nagios-devel</input>
Password
[root@merkur tmp] <input>htpsswd -c /etc/nagios/htpasswd.users nagiosadmin</input>
New password: <input>l8heise</inupt>
password: <input>l8heise</inupt>
http config
- Linien til nagios udkommenteres i /etc/httpd/conf/http.conf
start apache og nagios
[root@merkur tmp]# <input>service httpd start</input>
[root@merkur tmp]# <input>service nagios start</input>