[Nagiosplug-help] Nagiosplug-help Digest, Vol 18, Issue 20
rtomimbang at adb.org
rtomimbang at adb.org
Thu Nov 22 08:54:57 CET 2007
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:
Import Utility
Import Log
Pre-Import Operations
Reading of configuration files...DONE
Removing all data from Fruity's Tables... DONE
Importing CGI Configuration... DONE
Number of Time Periods To Import: 4
1: Importing 24x7...DONE
2: Importing workhours...DONE
3: Importing nonworkhours...DONE
4: Importing none...DONE
Number of Commands To Import: 22
1: Importing check_local_disk...DONE
2: Importing check_local_load...DONE
3: Importing check_local_procs...DONE
4: Importing check_local_users...DONE
5: Importing check_dns...DONE
6: Importing check_ftp...DONE
7: Importing check_hpjd...DONE
8: Importing check_http...DONE
9: Importing check_nntp...DONE
10: Importing check_ping...DONE
11: Importing check_pop...DONE
12: Importing check_smtp...DONE
13: Importing check_tcp...DONE
14: Importing check_telnet...DONE
15: Importing check_udp...DONE
16: Importing check-host-alive...DONE
17: Importing host-notify-by-email...DONE
18: Importing host-notify-by-epager...DONE
19: Importing notify-by-email...DONE
20: Importing notify-by-epager...DONE
21: Importing process-host-perfdata...DONE
22: Importing process-service-perfdata...DONE
Number of Contacts To Import: 1
1: Importing nagios-admin...DONE
1: Importing Host Notification Command: host-notify-by-email...DONE
1: Importing Service Notification Command: notify-by-email...DONE
Number of Contacts To Check For Additional Addresses: 1
1: Importing nagios-admin's Addresses...DONE
Number of Contact Groups To Import: 1
1: Importing admins...DONE
1: Linking Member: nagios-admin...DONE
Number of Contacts To Recheck for contactgroups : 1
Number of Host Groups To Import: 1
1: Importing test...DONE
Number of Hosts To Filter for Templates: 3
1: Importing Host Template - generic-host...DONE
2: Importing Host Template - linux-server...DONE
Handling Unfinished Business...DONE
Number of Hosts To Import: 3
1: SKIPPED: Registered is set to 0.
2: SKIPPED: Registered is set to 0.
3: Importing localhost...DONE
Number of Host Dependency Entries To Process: 0
Number of Host Escalation Entries To Process: 0
Number of Hosts To Check For Parents: 3
1: SKIPPED: Registered is set to 0.
2: SKIPPED: Registered is set to 0.
3: Host: localhost has no parents.
Number of Host Groups To Check for Members: 1
1: Verifying memberships for test...
1: Linking to host localhost...DONE
Number of Service Groups To Import: 0
Number of Services to Filter For Template Import: 7
1: Importing Service Template - generic-service...DONE
2: Importing Service Template - local-service...DONE
2: Linking Contact Group: admins...DONE
Handling Unfinished Business...DONE
Number of Services to Import: 7
1: SKIPPED: Registered is set to 0.
2: SKIPPED: Registered is set to 0.
3: Attempting to Import PING...
Host: localhost - DONE
4: Attempting to Import Root Partition...
Host: localhost - DONE
5: Attempting to Import Current Users...
Host: localhost - DONE
6: Attempting to Import Total Processes...
Host: localhost - DONE
7: Attempting to Import Current Load...
Host: localhost - DONE
Number of Service Dependency Entries To Process: 0
Number of Service Escalation Entries To Process: 0
Number of Service Groups to Check for Members: 0
Number of Host Extended Info Entries To Process: 0
Number of Service Extended Info Entries To Process: 0
Importing Resources Configuration...:
Importing: $USER1$ = /usr/local/nagios/libexec
DONE
Main Configuration Import
Importing Main Configuration... ERROR: new_main_conf failed.
IMPORT COMPLETE
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.
Ronald Allan V. Tomimbang
Unix Admin - Tech Support/CCAU-UNIX (OIST)
Tel (632) 632-4444
www.adb.org
nagiosplug-help-request at lists.sourceforge.net
Sent by: nagiosplug-help-bounces at lists.sourceforge.net
11/22/2007 04:09 AM
Please respond to
nagiosplug-help at lists.sourceforge.net
To
nagiosplug-help at lists.sourceforge.net
cc
Subject
Nagiosplug-help Digest, Vol 18, Issue 20
Send Nagiosplug-help mailing list submissions to
nagiosplug-help at lists.sourceforge.net
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.sourceforge.net/lists/listinfo/nagiosplug-help
or, via email, send a message with subject or body 'help' to
nagiosplug-help-request at lists.sourceforge.net
You can reach the person managing the list at
nagiosplug-help-owner at lists.sourceforge.net
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Nagiosplug-help digest..."
Today's Topics:
1. Bitten by ePN? (Ralph.Grothe at itdz-berlin.de)
----------------------------------------------------------------------
Message: 1
Date: Wed, 21 Nov 2007 18:56:15 +0100
From: <Ralph.Grothe at itdz-berlin.de>
Subject: [Nagiosplug-help] Bitten by ePN?
To: <nagiosplug-help at lists.sourceforge.net>
Message-ID:
<D44BE377760A99459EE0C200622E13F604E96F43 at itdzex001.ITDZ.verwalt-berlin.de>
Content-Type: text/plain; charset="iso-8859-1"
Hello List Subscribers,
I have written a custom SMS notification "plugin" in Perl
which isn't working as expected.
Whenever I run it as user nagios from the Nagios server in an
interactive shell
SMS messages are sent to my mobile.
Whereas when having the plugin executed by the nagios daemon (or
rather one of its child procs)
no SMS keeps coming in.
This could well be an issue with our SMS gateway relay.
So, I asked the admin of this relay to check his logs to tell me
what went wrong.
But he says all he can see is messages saying that the sender's
address hadn't been matched in the
allowed users' database, which isn't all that helpful.
I found out that in my plugin I need to "spoof" the SMTP "MAIL
FROM" value in the envelope
to something this SMS GW would accept.
As I am using Mail::Mailer I found that this can be achieved by
setting the environment MAILDOMAIN
appropiately.
So I am doing something similar to
my $sender = 'someone@'.$ENV{MAILDOMAIN};
Also, instead of passing in Nagios Macros as parameters I fetch
them from the environment
similar to e.g.
my @rcpts = ($ENV{NAGIOS_CONTACTEMAIL}) ||
qw(someone at fallback.domain);
I now wonder if I am possibly bitten by embedded Perl Nagios
here?
Cheers
Ralph
------------------------------
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
------------------------------
_______________________________________________
Nagiosplug-help mailing list
Nagiosplug-help at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagiosplug-help
End of Nagiosplug-help Digest, Vol 18, Issue 20
***********************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-plugins.org/archive/help/attachments/20071122/95f733a1/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 1763 bytes
Desc: not available
URL: <https://www.monitoring-plugins.org/archive/help/attachments/20071122/95f733a1/attachment.gif>
More information about the Help
mailing list