Nagios-users digest, Vol 1 #3164 - 16 msgs
Andrew Meyer
AMeyer at precisionpractice.com
Wed May 10 05:18:40 CEST 2006
Is anyone using any of the tools from nagiosexchange.org like Nace or
Nagiosweb2? What is your opinoin of them? Please advise.
-----Original Message-----
From: nagios-users-admin at lists.sourceforge.net
[mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of
nagios-users-request at lists.sourceforge.net
Sent: Tuesday, May 09, 2006 10:11 PM
To: nagios-users at lists.sourceforge.net
Subject: Nagios-users digest, Vol 1 #3164 - 16 msgs
Send Nagios-users mailing list submissions to
nagios-users at lists.sourceforge.net
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.sourceforge.net/lists/listinfo/nagios-users
or, via email, send a message with subject or body 'help' to
nagios-users-request at lists.sourceforge.net
You can reach the person managing the list at
nagios-users-admin at lists.sourceforge.net
When replying, please edit your Subject line so it is more specific than
"Re: Contents of Nagios-users digest..."
Today's Topics:
1. RE: SMS Text Message help (Paul Archer)
2. RE: SMS Text Message help (Peter Shankland)
3. RE: Turn OFF downtime (Tedman Eng)
4. RE: any way to specify source address for server? (Marc Powell)
5. Re: Re: Help with different hostnames that are
conflicting (Paul Archer)
6. Re: any way to specify source address for server? (Hugo van der
Kooij)
7. how to use snmp (Nelson Serafica)
8. RE: any way to specify source address for server? (Steve Shipway)
9. Status MAP (libgd.so.2 problem) generation problem on Nagios
(kritikus Araklidas)
10. RE: Status MAP (libgd.so.2 problem) generation problem on Nagios
(Norman Harebottle)
11. RE: SMS Text Message help (Morris, Patrick)
12. RE: any way to specify source address for server? (Paul Archer)
13. Re: how to use snmp (Paul Archer)
14. Problem running .configure with version 1.4.2 of nagios-plugins...
(Michael Radzicki)
15. Daniel TARDY est absent jusqu'au 15 Mai (Daniel.Tardy at canson.fr)
--__--__--
Message: 1
Date: Tue, 9 May 2006 12:55:47 -0500 (CDT)
From: Paul Archer <parcher at bcm.edu>
To: Peter Shankland <Peter.Shankland at ricoh-rpl.com>
cc: nagios-users at lists.sourceforge.net
Subject: RE: [Nagios-users] SMS Text Message help
Out of curiosity, have you tried simply sending an email to your
phone/pager/whatever-it-is? For example, a Sprint phone can recieve an
SMS message sent to an email address like
5551234567 at messaging.sprintpcs.com
Paul
On Tue, 9 May 2006, Peter Shankland wrote:
> Getting somewhere now. It looks as though the problem was with me not
> using -q to supress the output from sms_client (thanks Phil Randal)
> but also the nagios user not being able to write to /dev/ttyS0, /etc/
> and /var/lock/
>
> The problem I now have is that the plugin takes about 60 seconds to
> run, but timesout after 30 seconds through Nagios. Is there a way to
> increase this timeout period?
>
> Thanks.
>
> Pete.
> ----- Forwarded by Peter Shankland/RPL on 09/05/2006 18:10 -----
> |---------+---------------------------->
> | | Peter Shankland |
> | | |
> | | 09/05/2006 17:44 |
> | | |
> |---------+---------------------------->
>
>-----------------------------------------------------------------------
----------------------------------------------------------------------|
> |
|
> | To: "Chad Osmond" <chad.osmond at holburn.com>
|
> | cc: nagios-users at lists.sourceforge.net
|
> | Subject: RE: [Nagios-users] SMS Text Message help(Document
link: Peter Shankland)
|
>
> >---------------------------------------------------------------------
> ----------------------------------------------------------------------
> --|
>
>
>
> When I run the following:
>
> su - nagios sms_client vodafone_tap:123456789 "message"
>
> I get:
>
> /bin/sms_client: /bin/sms_client: cannot execute binary file
>
> Is this starting to look like a permissions problem?
>
> Thanks.
>
>
> |---------+---------------------------->
> | | "Chad Osmond" |
> | | <chad.osmond at holb|
> | | urn.com> |
> | | |
> | | 09/05/2006 17:03 |
> | | |
> |---------+---------------------------->
>
>-----------------------------------------------------------------------
----------------------------------------------------------------------|
> |
|
> | To: "Peter Shankland" <Peter.Shankland at ricoh-rpl.com>
|
> | cc:
|
> | Subject: RE: [Nagios-users] SMS Text Message help
|
>
> >---------------------------------------------------------------------
> ----------------------------------------------------------------------
> --|
>
>
>
>
> Try echoing the command into a tmp file, and then running it as the
> nagios user.. Eg:
>
> command_line echo " /usr/bin/printf \"%b\" "***** Nagios
> *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost:
$HOSTNAME$\nState:
> $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time:
> $LONGDATETIME$\n\" | /bin/sms_client vodafone_tap:$CONTACTADDRESS1$ "
> > /tmp/sms-command`date +%s`
>
> The "su - nagios" and "sh /tmp/sms-command...." and see what happens.
>
> My guess, from my experience last week is that there is either an
> error with quotation marks, or the context.. By dumping the command to
> a temp file you will be able to debug what is happening.
>
> Good luck!
>
> Chad
>
>
> -----Original Message-----
> From: nagios-users-admin at lists.sourceforge.net
> [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Peter
> Shankland
> Sent: May 9, 2006 11:21 AM
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] SMS Text Message help
>
> I am successfully using the software from smsclient.org to send text
> messages to mobile phones manually using the following command:
>
> sms_client vodafone_tap:1234567890 "Message Text"
>
> This work brilliantly but I have tried to integrate this into Nagios
> with no success :(
>
> I have created the following notification command within my
> misccommands.cfg file:
>
> # 'host-notify-by-sms' command definition define command{
> command_name host-notify-by-sms
> command_line /usr/bin/printf "%b" "***** Nagios
> *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost:
$HOSTNAME$\nState:
> $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time:
> $LONGDATETIME$\n" | /bin/sms_client vodafone_tap:$CONTACTADDRESS1$
> }
>
> I have then got the following within my contacts.cfg file:
>
> define contact{
> contact_name 1533
> alias Peter Shankland
> service_notification_period 24x7
> host_notification_period 24x7
> service_notification_options w,u,c,r
> host_notification_options d,r
> service_notification_commands notify-by-email
> host_notification_commands
> host-notify-by-email,host-notify-by-sms
> email peter.shankland at ricoh-rpl.com
> address1 447977906721
> }
>
> Finally, this gets called within one of my hosts.
>
> I get the following within my syslog messages:
>
> May 9 09:51:51 RPL-RENAULT nagios: HOST ALERT:
> CISCO1200_RPL1-MO-1;UP;HARD;1;PING OK - Packet loss = 0%, RTA = 0.60
> ms May 9 09:51:51 RPL-RENAULT nagios: HOST NOTIFICATION:
> 1533;CISCO1200_RPL1-MO-1;UP;host-notify-by-sms;PING OK - Packet loss =
> 0%, RTA = 0.60 ms May 9 09:51:51 RPL-RENAULT nagios: HOST
NOTIFICATION:
> 1533;CISCO1200_RPL1-MO-1;UP;host-notify-by-email;PING OK - Packet loss
> = 0%, RTA = 0.60 ms
>
> and the following within the Nagios Event Log:
>
> [09-05-2006 09:51:51] HOST NOTIFICATION:
> 1533;CISCO1200_RPL1-MO-1;UP;host-notify-by-email;PING OK - Packet loss
> = 0%, RTA = 0.60 ms
> [09-05-2006 09:51:51] HOST NOTIFICATION:
> 1533;CISCO1200_RPL1-MO-1;UP;host-notify-by-sms;PING OK - Packet loss =
> 0%, RTA = 0.60 ms
>
> Everything appears to be working but I get no SMS text message. Am I
> doing something obviously wrong as I simply want to run the command at
> the top of this Email.
>
> Thanks.
>
> Pete.
>
>
>
>
> -------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services,
> security?
> Get stuff done quickly with pre-integrated technology to make your job
> easier Download IBM WebSphere Application Server v.1.0.1 based on
> Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=1216
> 42 _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when
> reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
>
>
>
>
>
>
>
>
>
>
>
> -------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services,
security?
> Get stuff done quickly with pre-integrated technology to make your job
> easier Download IBM WebSphere Application Server v.1.0.1 based on
> Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=1216
> 42 _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when
reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
>
--
----------
# pwd
/loony/bin
----------
--__--__--
Message: 2
Subject: RE: [Nagios-users] SMS Text Message help
To: Paul Archer <parcher at bcm.edu>
Cc: nagios-users at lists.sourceforge.net
From: "Peter Shankland" <Peter.Shankland at ricoh-rpl.com>
Date: Tue, 9 May 2006 19:10:54 +0100
Have tried various solutions like this - the one I used was from
sms2email.com. The problem with all of these products is that they go
from
Email to SMS.... what happens if your Email fails?
I have actually managed to get this smsclient.org solution working by
changing the timeout of the notifications within nagios.cfg
Pete.
|---------+---------------------------->
| | Paul Archer |
| | <parcher at bcm.edu>|
| | |
| | 09/05/2006 18:55 |
| | |
|---------+---------------------------->
>-----------------------------------------------------------------------
----------------------------------------------------------------------|
|
|
| To: Peter Shankland <Peter.Shankland at ricoh-rpl.com>
|
| cc: nagios-users at lists.sourceforge.net
|
| Subject: RE: [Nagios-users] SMS Text Message help
|
>-----------------------------------------------------------------------
----------------------------------------------------------------------|
Out of curiosity, have you tried simply sending an email to your
phone/pager/whatever-it-is? For example, a Sprint phone can recieve an
SMS
message sent to an email address like 5551234567 at messaging.sprintpcs.com
Paul
On Tue, 9 May 2006, Peter Shankland wrote:
> Getting somewhere now. It looks as though the problem was with me not
using
> -q to supress the output from sms_client (thanks Phil Randal) but also
the
> nagios user not being able to write to /dev/ttyS0, /etc/ and
/var/lock/
>
> The problem I now have is that the plugin takes about 60 seconds to
run,
> but timesout after 30 seconds through Nagios. Is there a way to
increase
> this timeout period?
>
> Thanks.
>
> Pete.
> ----- Forwarded by Peter Shankland/RPL on 09/05/2006 18:10 -----
> |---------+---------------------------->
> | | Peter Shankland |
> | | |
> | | 09/05/2006 17:44 |
> | | |
> |---------+---------------------------->
>
>-----------------------------------------------------------------------
----------------------------------------------------------------------|
> |
|
> | To: "Chad Osmond" <chad.osmond at holburn.com>
|
> | cc: nagios-users at lists.sourceforge.net
|
> | Subject: RE: [Nagios-users] SMS Text Message help(Document
link:
Peter Shankland) |
>
>-----------------------------------------------------------------------
----------------------------------------------------------------------|
>
>
>
> When I run the following:
>
> su - nagios sms_client vodafone_tap:123456789 "message"
>
> I get:
>
> /bin/sms_client: /bin/sms_client: cannot execute binary file
>
> Is this starting to look like a permissions problem?
>
> Thanks.
>
>
> |---------+---------------------------->
> | | "Chad Osmond" |
> | | <chad.osmond at holb|
> | | urn.com> |
> | | |
> | | 09/05/2006 17:03 |
> | | |
> |---------+---------------------------->
>
>-----------------------------------------------------------------------
----------------------------------------------------------------------|
> |
|
> | To: "Peter Shankland" <Peter.Shankland at ricoh-rpl.com>
|
> | cc:
|
> | Subject: RE: [Nagios-users] SMS Text Message help
|
>
>-----------------------------------------------------------------------
----------------------------------------------------------------------|
>
>
>
>
> Try echoing the command into a tmp file, and then running it as the
> nagios user.. Eg:
>
> command_line echo " /usr/bin/printf \"%b\" "***** Nagios
> *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost:
$HOSTNAME$\nState:
> $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time:
> $LONGDATETIME$\n\" | /bin/sms_client vodafone_tap:$CONTACTADDRESS1$ "
>
> /tmp/sms-command`date +%s`
>
> The "su - nagios" and "sh /tmp/sms-command...." and see what happens.
>
> My guess, from my experience last week is that there is either an
error
> with quotation marks, or the context.. By dumping the command to a
temp
> file you will be able to debug what is happening.
>
> Good luck!
>
> Chad
>
>
> -----Original Message-----
> From: nagios-users-admin at lists.sourceforge.net
> [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Peter
> Shankland
> Sent: May 9, 2006 11:21 AM
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] SMS Text Message help
>
> I am successfully using the software from smsclient.org to send text
> messages to mobile phones manually using the following command:
>
> sms_client vodafone_tap:1234567890 "Message Text"
>
> This work brilliantly but I have tried to integrate this into Nagios
> with no success :(
>
> I have created the following notification command within my
> misccommands.cfg file:
>
> # 'host-notify-by-sms' command definition define command{
> command_name host-notify-by-sms
> command_line /usr/bin/printf "%b" "***** Nagios
> *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost:
$HOSTNAME$\nState:
> $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time:
> $LONGDATETIME$\n" | /bin/sms_client vodafone_tap:$CONTACTADDRESS1$
> }
>
> I have then got the following within my contacts.cfg file:
>
> define contact{
> contact_name 1533
> alias Peter Shankland
> service_notification_period 24x7
> host_notification_period 24x7
> service_notification_options w,u,c,r
> host_notification_options d,r
> service_notification_commands notify-by-email
> host_notification_commands
> host-notify-by-email,host-notify-by-sms
> email peter.shankland at ricoh-rpl.com
> address1 447977906721
> }
>
> Finally, this gets called within one of my hosts.
>
> I get the following within my syslog messages:
>
> May 9 09:51:51 RPL-RENAULT nagios: HOST ALERT:
> CISCO1200_RPL1-MO-1;UP;HARD;1;PING OK - Packet loss = 0%, RTA = 0.60
ms
> May 9 09:51:51 RPL-RENAULT nagios: HOST NOTIFICATION:
> 1533;CISCO1200_RPL1-MO-1;UP;host-notify-by-sms;PING OK - Packet loss =
> 0%, RTA = 0.60 ms May 9 09:51:51 RPL-RENAULT nagios: HOST
NOTIFICATION:
> 1533;CISCO1200_RPL1-MO-1;UP;host-notify-by-email;PING OK - Packet loss
=
> 0%, RTA = 0.60 ms
>
> and the following within the Nagios Event Log:
>
> [09-05-2006 09:51:51] HOST NOTIFICATION:
> 1533;CISCO1200_RPL1-MO-1;UP;host-notify-by-email;PING OK - Packet loss
=
> 0%, RTA = 0.60 ms
> [09-05-2006 09:51:51] HOST NOTIFICATION:
> 1533;CISCO1200_RPL1-MO-1;UP;host-notify-by-sms;PING OK - Packet loss =
> 0%, RTA = 0.60 ms
>
> Everything appears to be working but I get no SMS text message. Am I
> doing something obviously wrong as I simply want to run the command at
> the top of this Email.
>
> Thanks.
>
> Pete.
>
>
>
>
> -------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services,
> security?
> Get stuff done quickly with pre-integrated technology to make your job
> easier Download IBM WebSphere Application Server v.1.0.1 based on
Apache
> Geronimo
>
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when
> reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
>
>
>
>
>
>
>
>
>
>
>
> -------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services,
security?
> Get stuff done quickly with pre-integrated technology to make your job
easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache
Geronimo
>
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when
reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
>
--
----------
# pwd
/loony/bin
----------
--__--__--
Message: 3
From: Tedman Eng <teng at dataway.com>
To: 'Tiago Cruz' <tiagocruz at forumgdh.net>,
nagios-users at lists.sourceforge.net
Subject: RE: [Nagios-users] Turn OFF downtime
Date: Tue, 9 May 2006 11:12:07 -0700
Click "Scheduled Downtime" from the left navbar
>From the list of Scheduled Downtimes, click the trashcan icon for the
entry
you want to cancel.
> -----Original Message-----
> From: Tiago Cruz [mailto:tiagocruz at forumgdh.net]
> Sent: Tuesday, May 09, 2006 8:10 AM
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] Turn OFF downtime
>
>
> Hello guys,
>
> How can I turn off the downtime of one host, like this one:
>
> This host has been scheduled for fixed downtime from
> 04-05-2006 16:35:29 to
> 04-06-2006 18:35:29. Notifications for the host will not be
> sent out during that
> time period.
>
> Thanks!
> --
>
> Tiago Cruz
> Network Administrator
> Linux is like an Indian tent:
> no Windows, no Gates and an Apache inside.
>
>
> -------------------------------------------------------
> Using Tomcat but need to do more? Need to support web
> services, security?
> Get stuff done quickly with pre-integrated technology to make
> your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on
> Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&
dat=121642
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when
reporting
any issue.
::: Messages without supporting info will risk being sent to /dev/null
--__--__--
Message: 4
Subject: RE: [Nagios-users] any way to specify source address for
server?
Date: Tue, 9 May 2006 13:15:34 -0500
From: "Marc Powell" <marc at ena.com>
To: <nagios-users at lists.sourceforge.net>
> -----Original Message-----
> From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-
> admin at lists.sourceforge.net] On Behalf Of Paul Archer
> Sent: Tuesday, May 09, 2006 12:38 PM
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] any way to specify source address for server?
>=20
> I'd like to give my Nagios server a virtual IP address, so that if we
want
> to migrate the monitoring service to another machine in the future,
it'll
> be easy (just setup the new machine and give it the same virtual IP).
> While nrpe can be configured to only listen on certain interfaces, I
can't
> find any way to make Nagios send only on certain interfaces. Right
now, it
> uses the primary interface only.
> So, is it possible to tell Nagios only to use a particular interface?
Or
> is this at least coming in a future release?
As with almost every application, this is controlled by the routing
tables of your Operating System. Unless you specify a more specific
route out a different interface for your destinations, the OS will
always route traffic out your default gateway interface, sourced from
that interface.
This question has come up before and though I am not authoritative on
plugin development (which you are really talking about), it is almost
certain that the plugins will continue to rely on the OS for proper
routing.
If you're restricting access on remote hosts by IP, (as we do), you can
static NAT your nagios host IP at a firewall/other device or move the IP
when you change hosts.=20
--
Marc
--__--__--
Message: 5
Date: Tue, 9 May 2006 14:51:34 -0500 (CDT)
From: Paul Archer <parcher at bcm.edu>
To: George Bryan <georgiebryan at gmail.com>
cc: nagios-users at lists.sourceforge.net
Subject: Re: [Nagios-users] Re: Help with different hostnames that are
conflicting
On Tue, 9 May 2006, George Bryan wrote:
> This problem is happening again on me. This time with a hostgroup that
> is a substring of another one. Lets imagine the hostgroup a is
> location.siteI and hostgroup b is location.siteII, some service
> definitions applied to hostgroup a, are also wrongfully applied to
> hostgroup b.
>
What are your settings in nagios.cfg for the folowing params?
# REGULAR EXPRESSION MATCHING
# This option controls whether or not regular expression matching
# takes place in the object config files. Regular expression
# matching is used to match host, hostgroup, service, and service
# group names/descriptions in some fields of various object types.
# Values: 1 = enable regexp matching, 0 = disable regexp matching
use_regexp_matching=1
# "TRUE" REGULAR EXPRESSION MATCHING
# This option controls whether or not "true" regular expression
# matching takes place in the object config files. This option
# only has an effect if regular expression matching is enabled
# (see above). If this option is DISABLED, regular expression
# matching only occurs if a string contains wildcard characters
# (* and ?). If the option is ENABLED, regexp matching occurs
# all the time (which can be annoying).
# Values: 1 = enable true matching, 0 = disable true matching
use_true_regexp_matching=0
Paul
> On 4/6/06, George Bryan <georgiebryan at gmail.com> wrote:
>> Hi all, i have a nagios setup with a fair lot of hostnames. While
>> adding some more hostnames from my local infrastructure i stumbled
>> upon two hostnames that are very similar.
>>
>> Example
>> Host 1: host1.domain.com
>> Host 2: host2.domain.com
>> and in a different location we have:
>> Host 3: subhost1.domain.com
>> Host 4: subhost2.domain.com
>>
>> Host 3 and 4 were added after Host 1 and 2, everything was fine
before
>> adding them. But after adding we did a config check before restarting
>> nagios and the following error came up.
>>
>> Nagios 2.0
>> Copyright (c) 1999-2006 Ethan Galstad (http://www.nagios.org)
>> Last Modified: 02-07-2006
>> License: GPL
>>
>> Reading configuration data...
>>
>> Running pre-flight check on configuration data...
>>
>> Checking services...
>> Checked 1624 services.
>> Checking hosts...
>> Checked 372 hosts.
>> Checking host groups...
>> Checked 122 host groups.
>> Checking service groups...
>> Checked 0 service groups.
>> Checking contacts...
>> Checked 22 contacts.
>> Checking contact groups...
>> Checked 15 contact groups.
>> Checking service escalations...
>> Error: Service 'Location 2 - fPing' on host ' subhost1.domain.com'
>> specified in service escalation is not defined anywhere!
>> Error: Service 'Location 2 - fPing' on host 'subhost1.domain.com'
>> specified in service escalation is not defined anywhere!
>> Error: Service 'Location 2 - fPing' on host 'subhost1.domain.com'
>> specified in service escalation is not defined anywhere!
>> Error: Service 'Location 2 - fPing' on host ' subhost2.domain.com'
>> specified in service escalation is not defined anywhere!
>> Error: Service 'Location 2 - fPing' on host 'subhost2.domain.com'
>> specified in service escalation is not defined anywhere!
>> Error: Service 'Location 2 - fPing' on host 'subhost2.domain.com'
>> specified in service escalation is not defined anywhere!
>> Checked 4878 service escalations.
>> Checking service dependencies...
>> Checked 0 service dependencies.
>> Checking host escalations...
>> Checked 740 host escalations.
>> Checking host dependencies...
>> Checked 0 host dependencies.
>> Checking commands...
>> Checked 65 commands.
>> Checking time periods...
>> Checked 6 time periods.
>> Checking extended host info definitions...
>> Checked 0 extended host info definitions.
>> Checking extended service info definitions...
>> Checked 1008 extended service info definitions.
>> Checking for circular paths between hosts...
>> Checking for circular host and service dependencies...
>> Checking global event handlers...
>> Checking obsessive compulsive processor commands...
>> Checking misc settings...
>>
>> Total Warnings: 0
>> Total Errors: 6
>>
>>
>> The weird part is, if i remove the "domain.com" part from hosts 3 and
>> 4, config check works fine. But i really can't do this.
>> Can anyone shed me some light on this matter?
>>
>> Thanks
>> George
>>
>
>
> -------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services,
security?
> Get stuff done quickly with pre-integrated technology to make your job
easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache
Geronimo
>
http://sel.as-us.falkag.net/sel?cmd_____________________________________
__________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when
reporting
> any issue. ::: Messages without supporting info will risk being sent
to
> /dev/null
>
--
----------
# pwd
/loony/bin
----------
--__--__--
Message: 6
Date: Tue, 9 May 2006 22:45:36 +0200 (CEST)
From: Hugo van der Kooij <hvdkooij at vanderkooij.org>
Reply-To: Nagios Users Mailinglist <nagios-users at lists.sourceforge.net>
To: Nagios Users Mailinglist <nagios-users at lists.sourceforge.net>
Subject: Re: [Nagios-users] any way to specify source address for
server?
On Tue, 9 May 2006, Paul Archer wrote:
> I'd like to give my Nagios server a virtual IP address, so that if we
want
> to migrate the monitoring service to another machine in the future,
it'll
> be easy (just setup the new machine and give it the same virtual IP).
> While nrpe can be configured to only listen on certain interfaces, I
can't
> find any way to make Nagios send only on certain interfaces. Right
now, it
> uses the primary interface only.
> So, is it possible to tell Nagios only to use a particular interface?
Or
> is this at least coming in a future release?
This is a tricky issue. First of all I must assume you are referring to
the actions taken by the various checks. These are in fact regulated by
the individual plugins so there is not a single way to solve this.
Example:
If my dns plugin calls dig to do the job then how do I run dig in the
manner you describe? And will such a soulution work for other plugins?
In general I think nagios expects your host to solve these issues. In
your
case you could considere working around the issue with NAT rules in the
IP stack of your OS.
Hugo.
--
I hate duplicates. Just reply to the relevant mailinglist.
hvdkooij at vanderkooij.org
http://hvdkooij.xs4all.nl/
Don't meddle in the affairs of magicians,
for they are subtle and quick to anger.
--__--__--
Message: 7
Date: Tue, 9 May 2006 15:29:13 -0700 (PDT)
From: Nelson Serafica <ntserafica at yahoo.com>
Reply-To: Nelson Serafica <ntserafica at yahoo.com>
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] how to use snmp
--0-403542017-1147213753=:67644
Content-Type: text/plain; charset=us-ascii
Does anyone configured monitoring remote server via snmp? i'm planning
to use snmp to monitor remotely our server, can anyone give advice what
is the good plugins and how do you do that? I cannot use NRPE because
the server is production. We cannot installed any application not
relevant to work.
I check www.nagiosexchange.org, just asking any advice. By the way, how
can I know if I can check it using snmp ???? i tried snmpwalk, is this
enough?
--0-403542017-1147213753=:67644
Content-Type: text/html; charset=us-ascii
<html><head><style type="text/css"><!-- DIV {margin:0px}
--></style></head><body><div style="font-family:times new roman, new
york, times, serif;font-size:8pt">Does anyone configured monitoring
remote server via snmp? i'm planning to use snmp to monitor remotely our
server, can anyone give advice what is the good plugins and how do you
do that? I cannot use NRPE because the server is production. We cannot
installed any application not relevant to work.<br><br><span>I check <a
target="_blank"
href="http://www.nagiosexchange.org">www.nagiosexchange.org</a>, just
asking any advice. By the way, how can I know if I can check it using
snmp ???? i tried snmpwalk, is this
enough?</span><br></div></body></html>
--0-403542017-1147213753=:67644--
--__--__--
Message: 8
From: "Steve Shipway" <s.shipway at auckland.ac.nz>
To: "'Nagios Users Mailinglist'" <nagios-users at lists.sourceforge.net>
Subject: RE: [Nagios-users] any way to specify source address for
server?
Date: Wed, 10 May 2006 10:45:45 +1200
Organization: University of Auckland
> > I'd like to give my Nagios server a virtual IP address, so that if
we
> > want to migrate the monitoring service to another machine in the
> > future, it'll be easy (just setup the new machine and give
> it the same virtual IP).
...
> This is a tricky issue. First of all I must assume you are
> referring to the actions taken by the various checks. These
> are in fact regulated by the individual plugins so there is
> not a single way to solve this.
I understand what you're trying to achieve - just set up a single ACL on
your routers (for example) and have the Nagios service always query from
this (virtual) IP, wherever it actually lives.
For reasons stated before, this is almost impossible. The only way I
can
think of doing it is to set up a route definition on the Nagios host
directing all traffic via the virtual IP, although that is rather messy.
Here, we have Nagios on a virtual IP moving between two linux-ha hosts.
NSCA listens to a port on the virtual IP. However, Nagios will query
from
the physical IP of whichever host it is on, so we have had to set up
both
physical IPs in the ACLs.
I suppose you could set up a special subnet for your monitoring servers,
and
set your ACLs to allow that subnet. Or, if only certain checks (SNMP?)
require this source IP, you might be able to modify the appropriate
plugins
to specify source route. However, it doesnt seem feasible to do it for
all
the plugins.
Steve
--__--__--
Message: 9
Date: Tue, 9 May 2006 19:56:38 -0400
From: "kritikus Araklidas" <kritikus at gmail.com>
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] Status MAP (libgd.so.2 problem) generation
problem on Nagios
------=_Part_2207_7621658.1147218998067
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
Hi everyone:
I installed nagios with GD support, the installation was suscessfull
(the
nagios configure command reconize the GD library). Every single option
work=
s
fine, but when i try to open Status MAP i got and internal error (error
500), i review it the apache error logs and i looks some cgi file cannot
find the *libgd.so.2, *but in the installation process was reconized
and
the library is already in /usr/local/lib.
The rest of the application works properly, only in some menus where gd
is
required the problem come.
Any idea.......?????
Regards.
Cristian.
* *
------=_Part_2207_7621658.1147218998067
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
<div>Hi everyone:</div>
<div> </div>
<div>I installed nagios with GD support, the installation was
suscessfull (=
the nagios configure command reconize the GD library). Every single
option =
works fine, but when i try to open Status MAP i got and internal error
(err=
or 500), i review it the apache error logs and i looks some
cgi f=
ile cannot find the
<strong>libgd.so.2, </strong>but in the installation process
was =
reconized and the library is already in
/usr/local/lib. </di=
v>
<div> </div>
<div>The rest of the application works properly, only in some menus
where g=
d is required the problem come.</div>
<div> </div>
<div>Any idea.......?????</div>
<div> </div>
<div>Regards.</div>
<div> </div>
<div>Cristian.</div>
<div><strong> </strong></div>
------=_Part_2207_7621658.1147218998067--
--__--__--
Message: 10
Subject: RE: [Nagios-users] Status MAP (libgd.so.2 problem) generation
problem on Nagios
Date: Tue, 9 May 2006 20:09:08 -0400
From: "Norman Harebottle" <nharebottle at vikus.com>
To: "kritikus Araklidas" <kritikus at gmail.com>,
<nagios-users at lists.sourceforge.net>
This is a multi-part message in MIME format.
------_=_NextPart_001_01C673C5.F51C11A7
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Is GD enabled in the php.ini file?
=20
Norman
________________________________
From: nagios-users-admin at lists.sourceforge.net
[mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of kritikus
Araklidas
Sent: Tuesday, May 09, 2006 7:57 PM
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] Status MAP (libgd.so.2 problem) generation
problem on Nagios
Hi everyone:
=20
I installed nagios with GD support, the installation was suscessfull
(the nagios configure command reconize the GD library). Every single
option works fine, but when i try to open Status MAP i got and internal
error (error 500), i review it the apache error logs and i looks some
cgi file cannot find the libgd.so.2, but in the installation process
was reconized and the library is already in /usr/local/lib.=20
=20
The rest of the application works properly, only in some menus where gd
is required the problem come.
=20
Any idea.......?????
=20
Regards.
=20
Cristian.
=20
------_=_NextPart_001_01C673C5.F51C11A7
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii">
<META content=3D"MSHTML 6.00.2900.2873" name=3DGENERATOR></HEAD>
<BODY>
<DIV dir=3Dltr align=3Dleft><SPAN class=3D526380800-10052006><FONT =
face=3DArial=20
color=3D#0000ff size=3D2>Is GD enabled in the php.ini =
file?</FONT></SPAN></DIV>
<DIV> </DIV>
<DIV><SPAN class=3D526380800-10052006></SPAN><FONT face=3DArial><FONT=20
color=3D#0000ff><FONT size=3D2>N<SPAN=20
class=3D526380800-10052006>orman</SPAN></FONT></FONT></FONT></DIV>
<DIV><BR></DIV>
<DIV class=3DOutlookMessageHeader lang=3Den-us dir=3Dltr align=3Dleft>
<HR tabIndex=3D-1>
<FONT face=3DTahoma size=3D2><B>From:</B> =
nagios-users-admin at lists.sourceforge.net=20
[mailto:nagios-users-admin at lists.sourceforge.net] <B>On Behalf Of =
</B>kritikus=20
Araklidas<BR><B>Sent:</B> Tuesday, May 09, 2006 7:57 PM<BR><B>To:</B>=20
nagios-users at lists.sourceforge.net<BR><B>Subject:</B> [Nagios-users] =
Status MAP=20
(libgd.so.2 problem) generation problem on Nagios<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV>Hi everyone:</DIV>
<DIV> </DIV>
<DIV>I installed nagios with GD support, the installation was =
suscessfull (the=20
nagios configure command reconize the GD library). Every single option =
works=20
fine, but when i try to open Status MAP i got and internal error
(error=20
500), i review it the apache error logs and i looks some cgi =
file=20
cannot find the <STRONG>libgd.so.2, </STRONG>but in=20
the installation process was reconized and the library =
is already=20
in /usr/local/lib. </DIV>
<DIV> </DIV>
<DIV>The rest of the application works properly, only in some menus =
where gd is=20
required the problem come.</DIV>
<DIV> </DIV>
<DIV>Any idea.......?????</DIV>
<DIV> </DIV>
<DIV>Regards.</DIV>
<DIV> </DIV>
<DIV>Cristian.</DIV>
<DIV><STRONG></STRONG> </DIV></BODY></HTML>
------_=_NextPart_001_01C673C5.F51C11A7--
--__--__--
Message: 11
Subject: RE: [Nagios-users] SMS Text Message help
Date: Tue, 9 May 2006 20:13:42 -0400
From: "Morris, Patrick" <patrick.morris at hp.com>
To: "Peter Shankland" <Peter.Shankland at ricoh-rpl.com>,
<nagios-users at lists.sourceforge.net>
Does sms_client work as a pipe? If you just want to use the command at
the top of your message... Well, do that. :) Something like this:
command_line /bin/sms_client vodafone_tap:$CONTACTADDRESS1$ "*****
Nagios
*****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState:
$HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time:
$LONGDATETIME$\n"
-----Original Message-----
From: nagios-users-admin at lists.sourceforge.net
[mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Peter
Shankland
Sent: Tuesday, May 09, 2006 8:21 AM
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] SMS Text Message help
I am successfully using the software from smsclient.org to send text
messages to mobile phones manually using the following command:
sms_client vodafone_tap:1234567890 "Message Text"
This work brilliantly but I have tried to integrate this into Nagios
with no success :(
I have created the following notification command within my
misccommands.cfg file:
# 'host-notify-by-sms' command definition define command{
command_name host-notify-by-sms
command_line /usr/bin/printf "%b" "***** Nagios
*****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState:
$HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time:
$LONGDATETIME$\n" | /bin/sms_client vodafone_tap:$CONTACTADDRESS1$
}
I have then got the following within my contacts.cfg file:
define contact{
contact_name 1533
alias Peter Shankland
service_notification_period 24x7
host_notification_period 24x7
service_notification_options w,u,c,r
host_notification_options d,r
service_notification_commands notify-by-email
host_notification_commands
host-notify-by-email,host-notify-by-sms
email peter.shankland at ricoh-rpl.com
address1 447977906721
}
Finally, this gets called within one of my hosts.
I get the following within my syslog messages:
May 9 09:51:51 RPL-RENAULT nagios: HOST ALERT:
CISCO1200_RPL1-MO-1;UP;HARD;1;PING OK - Packet loss =3D 0%, RTA =3D 0.60
=
ms
May 9 09:51:51 RPL-RENAULT nagios: HOST NOTIFICATION:
1533;CISCO1200_RPL1-MO-1;UP;host-notify-by-sms;PING OK - Packet loss =3D
0%, RTA =3D 0.60 ms May 9 09:51:51 RPL-RENAULT nagios: HOST =
NOTIFICATION:
1533;CISCO1200_RPL1-MO-1;UP;host-notify-by-email;PING OK - Packet loss =
=3D
0%, RTA =3D 0.60 ms
and the following within the Nagios Event Log:
[09-05-2006 09:51:51] HOST NOTIFICATION:
1533;CISCO1200_RPL1-MO-1;UP;host-notify-by-email;PING OK - Packet loss =
=3D
0%, RTA =3D 0.60 ms
[09-05-2006 09:51:51] HOST NOTIFICATION:
1533;CISCO1200_RPL1-MO-1;UP;host-notify-by-sms;PING OK - Packet loss =3D
0%, RTA =3D 0.60 ms
Everything appears to be working but I get no SMS text message. Am I
doing something obviously wrong as I simply want to run the command at
the top of this Email.
Thanks.
Pete.
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services,
security?
Get stuff done quickly with pre-integrated technology to make your job
easier Download IBM WebSphere Application Server v.1.0.1 based on Apache
Geronimo
http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=
3D=
121642
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when
reporting any issue.=20
::: Messages without supporting info will risk being sent to /dev/null
--__--__--
Message: 12
Date: Tue, 9 May 2006 19:21:03 -0500 (CDT)
From: Paul Archer <parcher at bcm.edu>
To: "'Nagios Users Mailinglist'" <nagios-users at lists.sourceforge.net>
Subject: RE: [Nagios-users] any way to specify source address for
server?
Thanks for the responses. I hadn't thought about the scope of the
problem
(ie that each plugin would potentially need to be modified).
I think the scope could be somewhat contained by just modifying
check_nrpe; that's the only plugin that relies on the client allowing a
certain IP address.
Right now, I think I'll just not worry about it too much, and change the
nrpe.conf configuration on the clients when/if we have to.
Paul
On Wed, 10 May 2006, Steve Shipway wrote:
>>> I'd like to give my Nagios server a virtual IP address, so that if
we
>>> want to migrate the monitoring service to another machine in the
>>> future, it'll be easy (just setup the new machine and give
>> it the same virtual IP).
> ...
>> This is a tricky issue. First of all I must assume you are
>> referring to the actions taken by the various checks. These
>> are in fact regulated by the individual plugins so there is
>> not a single way to solve this.
>
> I understand what you're trying to achieve - just set up a single ACL
on
> your routers (for example) and have the Nagios service always query
from
> this (virtual) IP, wherever it actually lives.
>
> For reasons stated before, this is almost impossible. The only way I
can
> think of doing it is to set up a route definition on the Nagios host
> directing all traffic via the virtual IP, although that is rather
messy.
>
> Here, we have Nagios on a virtual IP moving between two linux-ha
hosts.
> NSCA listens to a port on the virtual IP. However, Nagios will query
from
> the physical IP of whichever host it is on, so we have had to set up
both
> physical IPs in the ACLs.
>
> I suppose you could set up a special subnet for your monitoring
servers, and
> set your ACLs to allow that subnet. Or, if only certain checks
(SNMP?)
> require this source IP, you might be able to modify the appropriate
plugins
> to specify source route. However, it doesnt seem feasible to do it
for all
> the plugins.
>
> Steve
>
>
>
>
> -------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services,
security?
> Get stuff done quickly with pre-integrated technology to make your job
easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache
Geronimo
>
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when
reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
>
--
----------
# pwd
/loony/bin
----------
--__--__--
Message: 13
Date: Tue, 9 May 2006 19:38:09 -0500 (CDT)
From: Paul Archer <parcher at bcm.edu>
To: Nelson Serafica <ntserafica at yahoo.com>
cc: nagios-users at lists.sourceforge.net
Subject: Re: [Nagios-users] how to use snmp
I can't give you any advice one way or the other on SNMP; however, you
might want to look at the alternative of using ssh for monitoring. Setup
a
'nagios' user on the client with appropriate ssh keys on the server. Use
forced commands in 'authorized_keys' for safety, and have the Nagios
server log into the client to check what it needs to check.
It's probably no harder than setting up SNMP (much easier if you're not
familiar with SNMP to begin with), and it's more secure.
Paul
On Tue, 9 May 2006, Nelson Serafica wrote:
> Does anyone configured monitoring remote server via snmp? i'm planning
to use snmp to monitor remotely our server, can anyone give advice what
is the good plugins and how do you do that? I cannot use NRPE because
the server is production. We cannot installed any application not
relevant to work.
>
> I check www.nagiosexchange.org, just asking any advice. By the way,
how can I know if I can check it using snmp ???? i tried snmpwalk, is
this enough?
>
--
----------
# pwd
/loony/bin
----------
--__--__--
Message: 14
Date: Tue, 9 May 2006 21:25:42 -0400
From: "Michael Radzicki" <Michael.Radzicki at equilend.com>
To: <nagios-users at lists.sourceforge.net>
Subject: [Nagios-users] Problem running .configure with version 1.4.2 of
nagios-plugins...
Hello again list users.=20
I have a problem when I run the .configure command with version of =
nagios plugins. This is the string I am using to run the configure =
script:
./configure --prefix=3D/usr/local/nagios --with-nagios-user=3Dnagios =
--with-nagios-group=3Dnagios --with-cgiurl=3D/nagios/cgi-bin =
--with-mysql=3D/opt/mysql/mysql
When I run this script, I see the following:
checking for mysql_init in -lmysqlclient... no
checking for mysql_close in -lmysqlclient... no
configure: WARNING: Skipping mysql plugin
Needless to say, when I run make all, the check_mysql plugin doesn't =
get included. I have MySQL 5.0.18 installed in /opt/mysql/mysql. Any =
ideas how I can get around this problem? Thanks in advance.=20
Mike R
--__--__--
Message: 15
From: Daniel.Tardy at canson.fr
To: nagios-users at lists.sourceforge.net
Date: Wed, 10 May 2006 04:00:15 +0200
Subject: [Nagios-users] Daniel TARDY est absent jusqu'au 15 Mai
Je serai absent(e) du 09/05/2006 au 15/05/2006.
Vous pouvez joindre
Christelle LAVAL au 04 75 69 87 21
St=E9phane REVOL au 04 75 69 87 07
C=E9dric BERT au 04 75 69 88 25
Eric GRIENAY au 04 75 69 88 70
En cas d'urgence uniquement, utilisez le 06 80 94 96 87.
Merci.
=
--__--__--
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
End of Nagios-users Digest
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list