How to Monitor Linux Clients Using Shinken monitoring framework
To monitor Linux Clients Using Shinken monitoring framework
In this article we will learn how to monitor Linux Clients using Shinken monitoring framework.
Switch to the shinken user using the following command.
root@linuxhelp:~# su shinken
shinken@linuxhelp:/root$ shinken install ssh
Grabbing : ssh
OK ssh
Create host file configuration for Client as shown below.
shinken@linuxhelp:/root$ nano /etc/shinken/hosts/client.cfg
Add the following lines.
define host{ use linux,ssh host_name sk address 192.168.7.158 _SNMPCOMMUNITY password }
Save and close the file.
Switch to root user and restart the shinken service.
shinken@linuxhelp:/root$ exit
exit
root@linuxhelp:~# service shinken restart
Restarting scheduler
...done.
Restarting poller
...done.
Restarting reactionner
...done.
Restarting broker
...done.
Restarting receiver
...done.
Restarting arbiter
Doing config check
...done.
...done.
Configuring the Client system
Run the following command to install SSH & SNMPD package.
root@server2:/home/user1# apt-get install ssh snmpd
Reading package lists... Done
Building dependency tree
&hellip
&hellip
Processing triggers for ureadahead (0.100.0-16) ...
Setting up ssh (1:6.6p1-2ubuntu2.8) ...
Processing triggers for libc-bin (2.19-0ubuntu6.7) ...
Open the snmpd.conf file by running the following command.
root@server2:/home/user1# nano /etc/snmp/snmpd.conf
Comment the following line
#agentAddress udp:127.0.0.1:161 Uncomment the following line: agentAddress udp:161,udp6:[::1]:161 Find the following line, and set the password for the client system. You should use the same password as defined in the shinken server. rocommunity password default -V systemonly
Save and restart the snmpd service.
root@server2:/home/user1# service snmpd restart
* Restarting network management services:
Navigate to the Shinken web interface and check the status of the client. You can see that the client is successfully added. Click on the client1 to view the Client status.
SSH Service status of the client machine.
Comments ( 0 )
No comments available