<br><font size=2 face="sans-serif">hello all wonderful users of the community
at last. frinally a community that i believe can help me. im new
to using nagios plus fruity from groundworks. fruity is a nice tool but
on the advent of my first configuration import i get this error at the
end of the line: </font>
<br>
<br><font size=2 face="sans-serif"><br>
</font>
<table>
<tr>
<td><font size=3>Import Utility</font></table>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=100%><font size=3><br>
</font>
<br><font size=1><br>
</font>
<table width=100%>
<tr>
<td width=0% bgcolor=#cccccc>
<td width=98% bgcolor=#cccccc>
<td width=0% bgcolor=black>
<tr>
<td bgcolor=#cccccc>
<td bgcolor=#ff9999><font size=1><br>
</font>
<table>
<tr>
<td><font size=3>Import Log</font></table>
<br>
<td bgcolor=black>
<tr>
<td bgcolor=black>
<td bgcolor=black>
<td bgcolor=black>
<tr>
<td bgcolor=#cccccc>
<td bgcolor=#f9f9f9><font size=1><br>
</font>
<table width=100%>
<tr>
<td width=100%><font size=1><br>
</font>
<table width=100%>
<tr>
<td colspan=3><font size=3><b>Pre-Import Operations</b></font>
<tr>
<td bgcolor=#aaaaaa>
<td bgcolor=#aaaaaa>
<td bgcolor=#aaaaaa>
<tr>
<td bgcolor=#aaaaaa>
<td bgcolor=#cccccc><font size=3>Reading of configuration files...</font><font size=3 color=#00a000><b>DONE</b></font>
<td bgcolor=#aaaaaa>
<tr>
<td bgcolor=#aaaaaa>
<td bgcolor=#aaaaaa>
<td bgcolor=#aaaaaa>
<tr>
<td bgcolor=#aaaaaa>
<td bgcolor=#f0f0f0><font size=3>Removing all data from Fruity's Tables...
</font><font size=3 color=#00a000><b>DONE</b></font><font size=3> </font>
<td bgcolor=#aaaaaa>
<tr>
<td bgcolor=#aaaaaa>
<td bgcolor=#aaaaaa>
<td bgcolor=#aaaaaa>
<tr>
<td bgcolor=#aaaaaa>
<td bgcolor=#f0f0f0><font size=3>Importing CGI Configuration... </font><font size=3 color=#00a000><b>DONE</b></font>
<td bgcolor=#aaaaaa>
<tr>
<td bgcolor=#aaaaaa>
<td bgcolor=#aaaaaa>
<td bgcolor=#aaaaaa></table>
<br>
<br>
<br><font size=1><br>
</font>
<table width=100%>
<tr>
<td colspan=3><font size=3><b>Number of Time Periods To Import: 4</b></font>
<tr>
<td bgcolor=#aaaaaa>
<td bgcolor=#aaaaaa>
<td bgcolor=#aaaaaa>
<tr>
<td bgcolor=#aaaaaa>
<td bgcolor=#cccccc><font size=3>1: Importing 24x7...</font><font size=3 color=#00a000><b>DONE</b></font>
<td bgcolor=#aaaaaa>
<tr>
<td bgcolor=#aaaaaa>
<td bgcolor=#f0f0f0><font size=3>2: Importing workhours...</font><font size=3 color=#00a000><b>DONE</b></font>
<td bgcolor=#aaaaaa>
<tr>
<td bgcolor=#aaaaaa>
<td bgcolor=#cccccc><font size=3>3: Importing nonworkhours...</font><font size=3 color=#00a000><b>DONE</b></font>
<td bgcolor=#aaaaaa>
<tr>
<td bgcolor=#aaaaaa>
<td bgcolor=#f0f0f0><font size=3>4: Importing none...</font><font size=3 color=#00a000><b>DONE</b></font>
<td bgcolor=#aaaaaa></table>
<br>
<br>
<br><font size=1><br>
</font>
<table width=100%>
<tr>
<td colspan=3><font size=3><b>Number of Commands To Import: 22</b></font>
<tr>
<td bgcolor=#aaaaaa>
<td bgcolor=#aaaaaa>
<td bgcolor=#aaaaaa>
<tr>
<td bgcolor=#aaaaaa>
<td bgcolor=#cccccc><font size=3>1: Importing check_local_disk...</font><font size=3 color=#00a000><b>DONE</b></font>
<td bgcolor=#aaaaaa>
<tr>
<td bgcolor=#aaaaaa>
<td bgcolor=#f0f0f0><font size=3>2: Importing check_local_load...</font><font size=3 color=#00a000><b>DONE</b></font>
<td bgcolor=#aaaaaa>
<tr>
<td bgcolor=#aaaaaa>
<td bgcolor=#cccccc><font size=3>3: Importing check_local_procs...</font><font size=3 color=#00a000><b>DONE</b></font>
<td bgcolor=#aaaaaa>
<tr>
<td bgcolor=#aaaaaa>
<td bgcolor=#f0f0f0><font size=3>4: Importing check_local_users...</font><font size=3 color=#00a000><b>DONE</b></font>
<td bgcolor=#aaaaaa>
<tr>
<td bgcolor=#aaaaaa>
<td bgcolor=#cccccc><font size=3>5: Importing check_dns...</font><font size=3 color=#00a000><b>DONE</b></font>
<td bgcolor=#aaaaaa>
<tr>
<td bgcolor=#aaaaaa>
<td bgcolor=#f0f0f0><font size=3>6: Importing check_ftp...</font><font size=3 color=#00a000><b>DONE</b></font>
<td bgcolor=#aaaaaa>
<tr>
<td bgcolor=#aaaaaa>
<td bgcolor=#cccccc><font size=3>7: Importing check_hpjd...</font><font size=3 color=#00a000><b>DONE</b></font>
<td bgcolor=#aaaaaa>
<tr>
<td bgcolor=#aaaaaa>
<td bgcolor=#f0f0f0><font size=3>8: Importing check_http...</font><font size=3 color=#00a000><b>DONE</b></font>
<td bgcolor=#aaaaaa>
<tr>
<td bgcolor=#aaaaaa>
<td bgcolor=#cccccc><font size=3>9: Importing check_nntp...</font><font size=3 color=#00a000><b>DONE</b></font>
<td bgcolor=#aaaaaa>
<tr>
<td bgcolor=#aaaaaa>
<td bgcolor=#f0f0f0><font size=3>10: Importing check_ping...</font><font size=3 color=#00a000><b>DONE</b></font>
<td bgcolor=#aaaaaa>
<tr>
<td bgcolor=#aaaaaa>
<td bgcolor=#cccccc><font size=3>11: Importing check_pop...</font><font size=3 color=#00a000><b>DONE</b></font>
<td bgcolor=#aaaaaa>
<tr>
<td bgcolor=#aaaaaa>
<td bgcolor=#f0f0f0><font size=3>12: Importing check_smtp...</font><font size=3 color=#00a000><b>DONE</b></font>
<td bgcolor=#aaaaaa>
<tr>
<td bgcolor=#aaaaaa>
<td bgcolor=#cccccc><font size=3>13: Importing check_tcp...</font><font size=3 color=#00a000><b>DONE</b></font>
<td bgcolor=#aaaaaa>
<tr>
<td bgcolor=#aaaaaa>
<td bgcolor=#f0f0f0><font size=3>14: Importing check_telnet...</font><font size=3 color=#00a000><b>DONE</b></font>
<td bgcolor=#aaaaaa>
<tr>
<td bgcolor=#aaaaaa>
<td bgcolor=#cccccc><font size=3>15: Importing check_udp...</font><font size=3 color=#00a000><b>DONE</b></font>
<td bgcolor=#aaaaaa>
<tr>
<td bgcolor=#aaaaaa>
<td bgcolor=#f0f0f0><font size=3>16: Importing check-host-alive...</font><font size=3 color=#00a000><b>DONE</b></font>
<td bgcolor=#aaaaaa>
<tr>
<td bgcolor=#aaaaaa>
<td bgcolor=#cccccc><font size=3>17: Importing host-notify-by-email...</font><font size=3 color=#00a000><b>DONE</b></font>
<td bgcolor=#aaaaaa>
<tr>
<td bgcolor=#aaaaaa>
<td bgcolor=#f0f0f0><font size=3>18: Importing host-notify-by-epager...</font><font size=3 color=#00a000><b>DONE</b></font>
<td bgcolor=#aaaaaa>
<tr>
<td bgcolor=#aaaaaa>
<td bgcolor=#cccccc><font size=3>19: Importing notify-by-email...</font><font size=3 color=#00a000><b>DONE</b></font>
<td bgcolor=#aaaaaa>
<tr>
<td bgcolor=#aaaaaa>
<td bgcolor=#f0f0f0><font size=3>20: Importing notify-by-epager...</font><font size=3 color=#00a000><b>DONE</b></font>
<td bgcolor=#aaaaaa>
<tr>
<td bgcolor=#aaaaaa>
<td bgcolor=#cccccc><font size=3>21: Importing process-host-perfdata...</font><font size=3 color=#00a000><b>DONE</b></font>
<td bgcolor=#aaaaaa>
<tr>
<td bgcolor=#aaaaaa>
<td bgcolor=#f0f0f0><font size=3>22: Importing process-service-perfdata...</font><font size=3 color=#00a000><b>DONE</b></font>
<td bgcolor=#aaaaaa></table>
<br>
<br>
<br><font size=1><br>
</font>
<table width=100%>
<tr>
<td colspan=3><font size=3><b>Number of Contacts To Import: 1</b></font>
<tr>
<td bgcolor=#aaaaaa>
<td bgcolor=#aaaaaa>
<td bgcolor=#aaaaaa>
<tr>
<td bgcolor=#aaaaaa>
<td bgcolor=#cccccc><font size=3>1: Importing nagios-admin...</font><font size=3 color=#00a000><b>DONE</b></font><font size=3><br>
1: Importing Host Notification Command: host-notify-by-email...</font><font size=3 color=#00a000><b>DONE</b></font><font size=3><br>
1: Importing Service Notification Command: notify-by-email...</font><font size=3 color=#00a000><b>DONE</b></font>
<td bgcolor=#aaaaaa></table>
<br>
<br>
<br><font size=1><br>
</font>
<table width=100%>
<tr>
<td colspan=3><font size=3><b>Number of Contacts To Check For Additional
Addresses: 1</b></font>
<tr>
<td bgcolor=#aaaaaa>
<td bgcolor=#aaaaaa>
<td bgcolor=#aaaaaa>
<tr>
<td bgcolor=#aaaaaa>
<td bgcolor=#cccccc><font size=3>1: Importing nagios-admin's Addresses...</font><font size=3 color=#00a000><b>DONE</b></font>
<td bgcolor=#aaaaaa></table>
<br>
<br>
<br><font size=1><br>
</font>
<table width=100%>
<tr>
<td colspan=3><font size=3><b>Number of Contact Groups To Import: 1</b></font>
<tr>
<td bgcolor=#aaaaaa>
<td bgcolor=#aaaaaa>
<td bgcolor=#aaaaaa>
<tr>
<td bgcolor=#aaaaaa>
<td bgcolor=#cccccc><font size=3>1: Importing admins...</font><font size=3 color=#00a000><b>DONE</b></font><font size=3><br>
1: Linking Member: nagios-admin...</font><font size=3 color=#00a000><b>DONE</b></font>
<td bgcolor=#aaaaaa></table>
<br>
<br>
<br><font size=1><br>
</font>
<table width=100%>
<tr>
<td colspan=3><font size=3><b>Number of Contacts To Recheck for contactgroups
: 1</b></font>
<tr>
<td bgcolor=#aaaaaa>
<td bgcolor=#aaaaaa>
<td bgcolor=#aaaaaa></table>
<br>
<br>
<br><font size=1><br>
</font>
<table width=100%>
<tr>
<td colspan=3><font size=3><b>Number of Host Groups To Import: 1</b></font>
<tr>
<td bgcolor=#aaaaaa>
<td bgcolor=#aaaaaa>
<td bgcolor=#aaaaaa>
<tr>
<td bgcolor=#aaaaaa>
<td bgcolor=#cccccc><font size=3>1: Importing test...</font><font size=3 color=#00a000><b>DONE</b></font>
<td bgcolor=#aaaaaa></table>
<br>
<br>
<br><font size=1><br>
</font>
<table width=100%>
<tr>
<td colspan=3><font size=3><b>Number of Hosts To Filter for Templates:
3</b></font>
<tr>
<td bgcolor=#aaaaaa>
<td bgcolor=#aaaaaa>
<td bgcolor=#aaaaaa>
<tr>
<td bgcolor=#aaaaaa>
<td bgcolor=#cccccc><font size=3>1: Importing Host Template - generic-host...</font><font size=3 color=#00a000><b>DONE</b></font>
<td bgcolor=#aaaaaa>
<tr>
<td bgcolor=#aaaaaa>
<td bgcolor=#f0f0f0><font size=3>2: Importing Host Template - linux-server...</font><font size=3 color=#00a000><b>DONE</b></font>
<td bgcolor=#aaaaaa>
<tr>
<td bgcolor=#aaaaaa>
<td bgcolor=#aaaaaa>
<td>
<tr>
<td colspan=3><font size=3>Handling Unfinished Business...<b>DONE</b></font></table>
<br>
<br>
<br><font size=1><br>
</font>
<table width=100%>
<tr>
<td colspan=3><font size=3><b>Number of Hosts To Import: 3</b></font>
<tr>
<td bgcolor=#aaaaaa>
<td bgcolor=#aaaaaa>
<td bgcolor=#aaaaaa>
<tr>
<td bgcolor=#aaaaaa>
<td bgcolor=#cccccc><font size=3>1: <b>SKIPPED: Registered is set to 0.</b></font>
<td bgcolor=#aaaaaa>
<tr>
<td bgcolor=#aaaaaa>
<td bgcolor=#f0f0f0><font size=3>2: <b>SKIPPED: Registered is set to 0.</b></font>
<td bgcolor=#aaaaaa>
<tr>
<td bgcolor=#aaaaaa>
<td bgcolor=#cccccc><font size=3>3: Importing localhost...</font><font size=3 color=#00a000><b>DONE</b></font>
<td bgcolor=#aaaaaa></table>
<br>
<br>
<br><font size=1><br>
</font>
<table width=100%>
<tr>
<td colspan=3><font size=3><b>Number of Host Dependency Entries To Process:
0</b></font>
<tr>
<td bgcolor=#aaaaaa>
<td bgcolor=#aaaaaa>
<td bgcolor=#aaaaaa></table>
<br>
<br>
<br><font size=1><br>
</font>
<table width=100%>
<tr>
<td colspan=3><font size=3><b>Number of Host Escalation Entries To Process:
0</b></font>
<tr>
<td bgcolor=#aaaaaa>
<td bgcolor=#aaaaaa>
<td bgcolor=#aaaaaa></table>
<br>
<br>
<br><font size=1><br>
</font>
<table width=100%>
<tr>
<td colspan=3><font size=3><b>Number of Hosts To Check For Parents: 3</b></font>
<tr>
<td bgcolor=#aaaaaa>
<td bgcolor=#aaaaaa>
<td bgcolor=#aaaaaa>
<tr>
<td bgcolor=#aaaaaa>
<td bgcolor=#cccccc><font size=3>1: <b>SKIPPED: Registered is set to 0.</b></font>
<td bgcolor=#aaaaaa>
<tr>
<td bgcolor=#aaaaaa>
<td bgcolor=#f0f0f0><font size=3>2: <b>SKIPPED: Registered is set to 0.</b></font>
<td bgcolor=#aaaaaa>
<tr>
<td bgcolor=#aaaaaa>
<td bgcolor=#cccccc><font size=3>3: Host: localhost has no parents.</font>
<td bgcolor=#aaaaaa></table>
<br>
<br>
<br><font size=1><br>
</font>
<table width=100%>
<tr>
<td colspan=3><font size=3><b>Number of Host Groups To Check for Members:
1</b></font>
<tr>
<td bgcolor=#aaaaaa>
<td bgcolor=#aaaaaa>
<td bgcolor=#aaaaaa>
<tr>
<td bgcolor=#aaaaaa>
<td bgcolor=#cccccc><font size=3>1: Verifying memberships for test...<br>
1: Linking to host localhost...</font><font size=3 color=#00a000><b>DONE</b></font>
<td bgcolor=#aaaaaa></table>
<br>
<br>
<br><font size=1><br>
</font>
<table width=100%>
<tr>
<td colspan=3><font size=3><b>Number of Service Groups To Import: 0</b></font>
<tr>
<td bgcolor=#aaaaaa>
<td bgcolor=#aaaaaa>
<td bgcolor=#aaaaaa></table>
<br>
<br>
<br><font size=1><br>
</font>
<table width=100%>
<tr>
<td colspan=3><font size=3><b>Number of Services to Filter For Template
Import: 7</b></font>
<tr>
<td bgcolor=#aaaaaa>
<td bgcolor=#aaaaaa>
<td bgcolor=#aaaaaa>
<tr>
<td bgcolor=#aaaaaa>
<td bgcolor=#cccccc><font size=3>1: Importing Service Template - generic-service...</font><font size=3 color=#00a000><b>DONE</b></font>
<td bgcolor=#aaaaaa>
<tr>
<td bgcolor=#aaaaaa>
<td bgcolor=#f0f0f0><font size=3>2: Importing Service Template - local-service...</font><font size=3 color=#00a000><b>DONE</b></font><font size=3><br>
2: Linking Contact Group: admins...</font><font size=3 color=#00a000><b>DONE</b></font>
<td bgcolor=#aaaaaa>
<tr>
<td bgcolor=#aaaaaa>
<td bgcolor=#aaaaaa>
<td>
<tr>
<td bgcolor=#aaaaaa>
<td bgcolor=#aaaaaa>
<td>
<tr>
<td bgcolor=#aaaaaa>
<td bgcolor=#aaaaaa>
<td>
<tr>
<td bgcolor=#aaaaaa>
<td bgcolor=#aaaaaa>
<td>
<tr>
<td bgcolor=#aaaaaa>
<td bgcolor=#aaaaaa>
<td>
<tr>
<td colspan=3><font size=3>Handling Unfinished Business...<b>DONE</b></font></table>
<br>
<br>
<br><font size=1><br>
</font>
<table width=100%>
<tr>
<td colspan=3><font size=3><b>Number of Services to Import: 7</b></font>
<tr>
<td bgcolor=#aaaaaa>
<td bgcolor=#aaaaaa>
<td bgcolor=#aaaaaa>
<tr>
<td bgcolor=#aaaaaa>
<td bgcolor=#cccccc><font size=3>1: <b>SKIPPED: Registered is set to 0.</b></font>
<td bgcolor=#aaaaaa>
<tr>
<td bgcolor=#aaaaaa>
<td bgcolor=#f0f0f0><font size=3>2: <b>SKIPPED: Registered is set to 0.</b></font>
<td bgcolor=#aaaaaa>
<tr>
<td bgcolor=#aaaaaa>
<td bgcolor=#cccccc><font size=3>3: Attempting to Import PING...<br>
Host: localhost - </font><font size=3 color=#00a000><b>DONE</b></font>
<td bgcolor=#aaaaaa>
<tr>
<td bgcolor=#aaaaaa>
<td bgcolor=#f0f0f0><font size=3>4: Attempting to Import Root Partition...<br>
Host: localhost - </font><font size=3 color=#00a000><b>DONE</b></font>
<td bgcolor=#aaaaaa>
<tr>
<td bgcolor=#aaaaaa>
<td bgcolor=#cccccc><font size=3>5: Attempting to Import Current Users...<br>
Host: localhost - </font><font size=3 color=#00a000><b>DONE</b></font>
<td bgcolor=#aaaaaa>
<tr>
<td bgcolor=#aaaaaa>
<td bgcolor=#f0f0f0><font size=3>6: Attempting to Import Total Processes...<br>
Host: localhost - </font><font size=3 color=#00a000><b>DONE</b></font>
<td bgcolor=#aaaaaa>
<tr>
<td bgcolor=#aaaaaa>
<td bgcolor=#cccccc><font size=3>7: Attempting to Import Current Load...<br>
Host: localhost - </font><font size=3 color=#00a000><b>DONE</b></font>
<td bgcolor=#aaaaaa></table>
<br>
<br>
<br><font size=1><br>
</font>
<table width=100%>
<tr>
<td colspan=3><font size=3><b>Number of Service Dependency Entries To Process:
0</b></font>
<tr>
<td bgcolor=#aaaaaa>
<td bgcolor=#aaaaaa>
<td bgcolor=#aaaaaa></table>
<br>
<br>
<br><font size=1><br>
</font>
<table width=100%>
<tr>
<td colspan=3><font size=3><b>Number of Service Escalation Entries To Process:
0</b></font>
<tr>
<td bgcolor=#aaaaaa>
<td bgcolor=#aaaaaa>
<td bgcolor=#aaaaaa></table>
<br>
<br>
<br><font size=1><br>
</font>
<table width=100%>
<tr>
<td colspan=3><font size=3><b>Number of Service Groups to Check for Members:
0</b></font>
<tr>
<td bgcolor=#aaaaaa>
<td bgcolor=#aaaaaa>
<td bgcolor=#aaaaaa></table>
<br>
<br>
<br><font size=1><br>
</font>
<table width=100%>
<tr>
<td colspan=3><font size=3><b>Number of Host Extended Info Entries To Process:
0</b></font>
<tr>
<td bgcolor=#aaaaaa>
<td bgcolor=#aaaaaa>
<td bgcolor=#aaaaaa></table>
<br>
<br>
<br><font size=1><br>
</font>
<table width=100%>
<tr>
<td colspan=3><font size=3><b>Number of Service Extended Info Entries To
Process: 0</b></font>
<tr>
<td bgcolor=#aaaaaa>
<td bgcolor=#aaaaaa>
<td bgcolor=#aaaaaa></table>
<br>
<br>
<br><font size=1><br>
</font>
<table width=100%>
<tr>
<td colspan=3><font size=3><b>Importing Resources Configuration...:</b></font>
<td width=1% valign=top>
<tr>
<td bgcolor=#aaaaaa>
<td bgcolor=#aaaaaa>
<td bgcolor=#aaaaaa>
<td valign=top>
<tr>
<td bgcolor=#aaaaaa>
<td bgcolor=#cccccc><font size=3>Importing: $USER1$ = /usr/local/nagios/libexec</font>
<td bgcolor=#cccccc>
<td bgcolor=#aaaaaa>
<tr>
<td bgcolor=#aaaaaa>
<td bgcolor=#f0f0f0><font size=3 color=#00a000><b>DONE</b></font>
<td>
<td></table>
<br>
<br>
<br><font size=1><br>
</font>
<table width=100%>
<tr>
<td colspan=3><font size=3><b>Main Configuration Import</b></font>
<tr>
<td bgcolor=#aaaaaa>
<td bgcolor=#aaaaaa>
<td bgcolor=#aaaaaa>
<tr>
<td bgcolor=#aaaaaa>
<td bgcolor=#cccccc><font size=3>Importing Main Configuration... <b>ERROR:</b>
new_main_conf failed.</font>
<td bgcolor=#aaaaaa>
<tr>
<td bgcolor=#aaaaaa>
<td bgcolor=#aaaaaa>
<td bgcolor=#aaaaaa></table>
<br>
<br><font size=3><b><br>
IMPORT COMPLETE</b> </font></table>
<br>
<td bgcolor=black>
<tr>
<td bgcolor=#cccccc>
<td bgcolor=black>
<td bgcolor=black></table>
<br></table>
<br>
<p><font size=2 face="Arial">can anyone from this community help me sort
out what i am missing here. please note that is is the default installation
i made for nagios. its the bare minimum plus fruity. thanks and more power
to the community.</font>
<p>
<p><font size=2 face="Arial">Ronald Allan V. Tomimbang<br>
Unix Admin - Tech Support/CCAU-UNIX (OIST)<br>
Tel (632) 632-4444<br>
www.adb.org<br>
</font><img src=cid:_1_07163C34071639A0002B7D274825739B>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>nagiosplug-help-request@lists.sourceforge.net</b>
</font>
<br><font size=1 face="sans-serif">Sent by: nagiosplug-help-bounces@lists.sourceforge.net</font>
<p><font size=1 face="sans-serif">11/22/2007 04:09 AM</font>
<table border>
<tr valign=top>
<td bgcolor=white>
<div align=center><font size=1 face="sans-serif">Please respond to<br>
nagiosplug-help@lists.sourceforge.net</font></div></table>
<br>
<td width=59%>
<table width=100%>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">To</font></div>
<td><font size=1 face="sans-serif">nagiosplug-help@lists.sourceforge.net</font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">Subject</font></div>
<td><font size=1 face="sans-serif">Nagiosplug-help Digest, Vol 18, Issue
20</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br><tt><font size=2>Send Nagiosplug-help mailing list submissions to<br>
nagiosplug-help@lists.sourceforge.net<br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
https://lists.sourceforge.net/lists/listinfo/nagiosplug-help<br>
or, via email, send a message with subject or body 'help' to<br>
nagiosplug-help-request@lists.sourceforge.net<br>
<br>
You can reach the person managing the list at<br>
nagiosplug-help-owner@lists.sourceforge.net<br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of Nagiosplug-help digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
1. Bitten by ePN? (Ralph.Grothe@itdz-berlin.de)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Wed, 21 Nov 2007 18:56:15 +0100<br>
From: <Ralph.Grothe@itdz-berlin.de><br>
Subject: [Nagiosplug-help] Bitten by ePN?<br>
To: <nagiosplug-help@lists.sourceforge.net><br>
Message-ID:<br>
<D44BE377760A99459EE0C200622E13F604E96F43@itdzex001.ITDZ.verwalt-berlin.de><br>
<br>
Content-Type: text/plain;
charset="iso-8859-1"<br>
<br>
Hello List Subscribers,<br>
<br>
I have written a custom SMS notification "plugin" in Perl<br>
which isn't working as expected.<br>
<br>
Whenever I run it as user nagios from the Nagios server in an<br>
interactive shell<br>
SMS messages are sent to my mobile.<br>
<br>
Whereas when having the plugin executed by the nagios daemon (or<br>
rather one of its child procs)<br>
no SMS keeps coming in.<br>
<br>
This could well be an issue with our SMS gateway relay.<br>
So, I asked the admin of this relay to check his logs to tell me<br>
what went wrong.<br>
But he says all he can see is messages saying that the sender's<br>
address hadn't been matched in the<br>
allowed users' database, which isn't all that helpful.<br>
<br>
I found out that in my plugin I need to "spoof" the SMTP "MAIL<br>
FROM" value in the envelope<br>
to something this SMS GW would accept.<br>
As I am using Mail::Mailer I found that this can be achieved by<br>
setting the environment MAILDOMAIN<br>
appropiately.<br>
So I am doing something similar to<br>
<br>
my $sender = 'someone@'.$ENV{MAILDOMAIN};<br>
<br>
Also, instead of passing in Nagios Macros as parameters I fetch<br>
them from the environment<br>
similar to e.g.<br>
<br>
my @rcpts = ($ENV{NAGIOS_CONTACTEMAIL}) ||<br>
qw(someone@fallback.domain);<br>
<br>
<br>
I now wonder if I am possibly bitten by embedded Perl Nagios<br>
here?<br>
<br>
Cheers<br>
<br>
Ralph<br>
<br>
<br>
<br>
<br>
------------------------------<br>
<br>
-------------------------------------------------------------------------<br>
This SF.net email is sponsored by: Microsoft<br>
Defy all challenges. Microsoft(R) Visual Studio 2005.<br>
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/<br>
<br>
------------------------------<br>
<br>
_______________________________________________<br>
Nagiosplug-help mailing list<br>
Nagiosplug-help@lists.sourceforge.net<br>
https://lists.sourceforge.net/lists/listinfo/nagiosplug-help<br>
<br>
<br>
End of Nagiosplug-help Digest, Vol 18, Issue 20<br>
***********************************************<br>
</font></tt>
<br>