Synology NAS not syncing?

  In some cases, my Synology device will stop syncing with my AD server or my Domain. If this happens, its most likely because the server has fall out of sync or its just being moody. Either way, here is a quick fix that has never let me down. Verifying NTP is synchronized On occasion, […]

Read More Synology NAS not syncing?

Nagios Notifications Not Working

If for some reason, your Nagios server stops sending out host alerts it’s more than likely that recent update broke it. If that is the case, you will need to re-run the update, which should fix the issue. In the event that this does not fix the problem, check your email settings in nagios. This […]

Read More Nagios Notifications Not Working

XINETD/NRPE | Cannot Write to Pidfile

 Cannot write to pidfile ‘/var/run/nagios/nrpe.pid’ – check your privileges. This error occurs when the “pidfile” cannot be rewritten. In most cases, this happens after a reboot and the file itself is read-only instead of read/write. If that is the case, go ahead and restart the xinetd and nrpe services. service xinetd restart service nrpe restart Next, check the status […]

Read More XINETD/NRPE | Cannot Write to Pidfile

Slow SSH Login | UseDNS=no

Problem: When SSH’ing into a server, connection, and login take a long time. Connect to a server Attempt to log in, and wait to see how long the connection takes. 10+ seconds is too long and should be investigated. Wait for the password prompt and then proceed to  cat /etc/ssh/sshd_config | less use vi to […]

Read More Slow SSH Login | UseDNS=no

Sending logs to a syslog server

If you are running a linux server, go ahead and install rsyslog. yum install rsyslog You will need to edit the rsyslog config file. vi /etc/rsyslog.conf Add the following line. # ### begin forwarding rule ### # The statement between the begin … end define a SINGLE forwarding # rule. They belong together, do NOT […]

Read More Sending logs to a syslog server

Building a Syslog Server

Go ahead and deploy your server, if you havent yet take a moment to do so. Installing rsyslog: yum install rsyslog After the files have been installed, edit /etc/rsyslog.conf vi /etc/rsyslog.conf Once in, you’ll need to uncomment the following two lines $ModLoad imudp $UDPServer Run 514 $ModLoad imtcp $InputTCPServerRun 514 Save the file and close […]

Read More Building a Syslog Server

HTOP Commands

HTOP Top Left Box: Displays, in real time, graph of your hardware resources. Top Right Box: Displays the Tasks, average load, and the uptime Bottom Box:  Displays the processes ID, , the user account, how many resources it is consuming (CPU/MEM), how long its been running and where it can be located. PID: The process […]

Read More HTOP Commands

System Load

Your server or computer is currently running slower than normal. You know that its been online for days or even weeks. So, you’ re Troubleshooting Here are the commands and steps you can use to troubleshoot a machine that is running slow or is freezing up constantly. uptime Uptime is a command used to view […]

Read More System Load