Sebastian Mogilowskis Blog

Just another blog about administration, linux and other stuff

monitoring

Enable SNMP on Citrix XenServer 5.6

Open XenServer Console or open a SSH connection to your XenServer for this howto: 1. Firewall Settings Open “/etc/sysconfig/iptables” with “vi” editor and add the following line to allow SNMP connections: -A RH-Firewall-1-INPUT -m state –state NEW -m udp -p udp –dport 161 -j ACCEPT Restart iptables service: service iptables restart 2. Configurate SNMPD Edit […]

, , ,

Monitoring the Nagios process with monit

Monitoring the Nagios process with monit Howto to install monit on Debian or Ubuntu to monitor the nagios process. Installation aptitude install monit Configuration Edit the monit configuration file /etc/monit/monitrc and make the following changes: Generall settings set daemon 120 set logfile syslog facility log_daemon set mailserver localhost set mail-format { from: monit@myserver.de } set […]

, , , , , ,

APC UPS on Debian Etch

This article describes, how you can monitor a APC UPS unit on Debian Etch. 1. Install apcupsd aptitude install apcupsd 2. Configuration vim /etc/apcupsd/apcupsd.conf If you connect the server to the UPS unit with an USB cable use: # USB configuration UPSCABLE usb UPSTYPE usb If you connect the server over ethernet use this configuration: […]

, , , , , , , ,