Skip to main content

Home/ ProGauge SCADA/ Group items tagged switch

Rss Feed Group items tagged

Kevin Mershon

Exim on CentOS - 0 views

  • yum update
  • yum install exim yum install system-switch-mail
  • system-switch-mail service sendmail stop service exim start chkconfig exim on chkconfig sendmail off
  • ...3 more annotations...
  • Then add this before the “dnslookup:” section. to_smart_host: driver = manualroute domains = ! +local_domains transport = remote_smtp route_list = “* mail1.example.com:mail2.example.com;”
  • service exim restart
  • echo “test” |mail -s “$HOSTNAME” me@example.com
Kevin Mershon

Re: [monit] Monit 5.0.2 question - 0 views

  • The problem is that there is no reliable way how to get correct FQDN. There is unreliable interface getdomainname() which returns on many platforms empty string or often default domains like "localdomain", "mydomain" when no other specific domain was set during system installation. The getdomainname() takes the value on some platforms from sysctl, on other platforms from file in /etc/ and on other platforms it's completely ignored. The name service lookup is not reliable as well - it depends on how the name service was set (usually NSS switch uses local files first which often have the shortname in front of longname for the given IP address and thus return often shortname first).
  • set mailserver foo.bar.baz using hostname "my.monit.host"
Kevin Mershon

XenServer: HowTo Convert HVM to PV (RHEL/SuSE) - 0 views

  • HVM-boot-policy=BIOS order
  • xe vm-param-set uuid=<vm uuid> PV-bootloader=pygrub
1 - 3 of 3
Showing 20 items per page