Tuesday, 28 February 2017

Nagios 4.2 - Reminder how it all work......

Add new hostgroups/hosts

/usr/local/nagios/etc/objects/

Add the new group to the list of groups to be displayed
templates.cfg
nagios.cfg


Recheck config
sudo /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg

restarting nagiog service
sudo /etc/init.d/servicename restart


Restart service

Finding a file
grep -r "filename"

Winscp
"Permission denied"

checking Nagios log files
tail -f /usr/local/nagios/var/nagios.log

FTP

service vsftpd restart














No comments:

Post a Comment