<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic UPS Firewall and sendmail in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/ups-firewall-and-sendmail/m-p/2656331#M922374</link>
    <description>Hi&lt;BR /&gt;We have recently bought and had installed an APCC UPS system. It, and the main computer room reside behind a firewall. We access the UPS menus by through the firewall and pointing the IE5 brower at the UPS's ip addess.&lt;BR /&gt;In order to recieve alerts from the UPS I need to configure the APCC system to send me emails via our Exchange Server. &lt;BR /&gt;Any ideas on how we could do this please?? TIA</description>
    <pubDate>Thu, 31 Jan 2002 14:12:07 GMT</pubDate>
    <dc:creator>Susan Prosser</dc:creator>
    <dc:date>2002-01-31T14:12:07Z</dc:date>
    <item>
      <title>UPS Firewall and sendmail</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ups-firewall-and-sendmail/m-p/2656331#M922374</link>
      <description>Hi&lt;BR /&gt;We have recently bought and had installed an APCC UPS system. It, and the main computer room reside behind a firewall. We access the UPS menus by through the firewall and pointing the IE5 brower at the UPS's ip addess.&lt;BR /&gt;In order to recieve alerts from the UPS I need to configure the APCC system to send me emails via our Exchange Server. &lt;BR /&gt;Any ideas on how we could do this please?? TIA</description>
      <pubDate>Thu, 31 Jan 2002 14:12:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ups-firewall-and-sendmail/m-p/2656331#M922374</guid>
      <dc:creator>Susan Prosser</dc:creator>
      <dc:date>2002-01-31T14:12:07Z</dc:date>
    </item>
    <item>
      <title>Re: UPS Firewall and sendmail</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ups-firewall-and-sendmail/m-p/2656332#M922375</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Your UPS runs HTTPD. Does it run SNMPD as well? &lt;BR /&gt;&lt;BR /&gt;I snmpquery the MIBs on the UPS over the network to monitor the UPS load, the UPS battery time remaining and the UPS temperature. When the threshold is exceeded, a paging alert and email is sent to me.&lt;BR /&gt;&lt;BR /&gt;For your case, if your UPS runs only HTTPD, you can make use of lynx (need to compile on HP-UX) and interface it with your scripts to monitor such statistics.&lt;BR /&gt;&lt;BR /&gt;# lynx -dump http://...&lt;BR /&gt;&lt;BR /&gt;This will provide you with the HTML output which you can parse using sed, awk, cut or perl etc. text manipulation tools.&lt;BR /&gt;&lt;BR /&gt;Hope this helps. Regards.&lt;BR /&gt;&lt;BR /&gt;Steven Sim Kok Leong&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 31 Jan 2002 14:52:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ups-firewall-and-sendmail/m-p/2656332#M922375</guid>
      <dc:creator>Steven Sim Kok Leong</dc:creator>
      <dc:date>2002-01-31T14:52:09Z</dc:date>
    </item>
    <item>
      <title>Re: UPS Firewall and sendmail</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ups-firewall-and-sendmail/m-p/2656333#M922376</link>
      <description>Hi Kevin&lt;BR /&gt;&lt;BR /&gt;ups_mond is not able to send email:-&lt;BR /&gt;&lt;BR /&gt;ups_mond uses the syslog message logging facility to log these &lt;BR /&gt;occurrences (see syslog(3C)). Messages are written to the console if &lt;BR /&gt;ups_mond is unable to send them to syslogd. Critical messages (see &lt;BR /&gt;DIAGNOSTICS section) are also sent to the console. &lt;BR /&gt;&lt;BR /&gt;What you can do is write a script to monitor the syslog file for ups messages and have the script mail you the error (using mailx). &lt;BR /&gt;&lt;BR /&gt;Along the lines of:- &lt;BR /&gt;&lt;BR /&gt;---------------------------------------&lt;BR /&gt;#!/bin/sh&lt;BR /&gt;cat /var/adm/syslog/syslog.log | grep UPS | grep CRITICAL &amp;gt; /tmp/UPSCRITICAL&lt;BR /&gt;&lt;BR /&gt;mailx -s "UPS CRITICAL WARNING" me@my-company.com &lt;BR /&gt;# after sending clean up syslog.log appending to a ups warning log&lt;BR /&gt;# Remove the error from syslog&lt;BR /&gt;cat /var/adm/syslog/syslog.log | grep -v UPS | grep -v CRITICAL &amp;gt; /var/adm/syslog/syslog.log.clean&lt;BR /&gt;# Copy log with error to history and email to to sysadmin&lt;BR /&gt;mailx ???s ???UPS ERROR??? me @my-company.com cp /var/adm/syslog/syslog.log /var/adm/syslog/syslog.last&lt;BR /&gt;# Put clean log in place so on next check same error not reported.&lt;BR /&gt;cp /var/adm/syslog/syslog.log.clean /var/adm/syslog/syslog.log&lt;BR /&gt;--------------------------------------&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Paula&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 31 Jan 2002 14:54:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ups-firewall-and-sendmail/m-p/2656333#M922376</guid>
      <dc:creator>Paula J Frazer-Campbell</dc:creator>
      <dc:date>2002-01-31T14:54:16Z</dc:date>
    </item>
    <item>
      <title>Re: UPS Firewall and sendmail</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ups-firewall-and-sendmail/m-p/2656334#M922377</link>
      <description>Kevin&lt;BR /&gt;&lt;BR /&gt;I forgot to put a check to see if /tmp/UPSCRITICAL actually contains data - if not then no further action is required.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;&lt;BR /&gt;Paula</description>
      <pubDate>Thu, 31 Jan 2002 14:56:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ups-firewall-and-sendmail/m-p/2656334#M922377</guid>
      <dc:creator>Paula J Frazer-Campbell</dc:creator>
      <dc:date>2002-01-31T14:56:51Z</dc:date>
    </item>
  </channel>
</rss>

