[Nagios-users] Use of customized macro in CONTACT definition

2012-04-25 Thread Deborah Martin
Hi, I'm trying to define a customized contact macro so that I can pass it to an event handler My contact definition is :- define contact{ contact_nametest-admin alias test-admin service_notification_period 24x7

[Nagios-users] Re SMS notification

2012-04-25 Thread Nick Price
Can anyone tell me how to configure the huawei E220 GSM modem to send out notification emails via SMS. I am using fedora 16 with Nagios 3.3.1plugins 1.4.15 Thanks Nick Price -- Live Security Virtual

Re: [Nagios-users] Enhance Nagios check_ftp command to check remote server for file

2012-04-25 Thread Alex Griffin
Yes, but I couldn't get it to work in a few short tests I did just now. You need to speak ftp's raw text protocol, putting you string to send after to -s option and the string you expect to get back after the -e option. This link might help:

Re: [Nagios-users] Timeout and critical error false alarms

2012-04-25 Thread Alex Griffin
TBH, I'm really not sure. Those settings look fine to me. If I had to guess I'd say this was caused by network issues, where the plugin, for some reason, is unable to connect to the host every so often. I'm not sure a longer timeout would help. Are there any unreliable points in the network

Re: [Nagios-users] Re SMS notification

2012-04-25 Thread Alex Griffin
Unfortunately, this task is different for different hardware and I was unable to find an existing plugin that would work. Hopefully I'm wrong, but I believe you will need to create a custom notification plugin for this. Alex Griffin --- Tech Team agrif...@nagios.com Nick Price wrote: Can

Re: [Nagios-users] puzzling no output from nrpe run of check_load

2012-04-25 Thread Alex Griffin
Does the nagios user have read access to /proc/loadavg? Alex Griffin --- Tech Team agrif...@nagios.com Peter N. Steinmetz wrote: Hi, hoping someone may be able to help with this odd problem running check_load on a remote nrpe server. I am running a nagios3 server on ubuntu 10.04 server

Re: [Nagios-users] Timeout and critical error false alarms

2012-04-25 Thread Alex
Hi Alex, TBH, I'm really not sure. Those settings look fine to me. If I had to guess I'd say this was caused by network issues, where the plugin, for some reason, is unable to connect to the host every so often. I'm not sure a longer timeout would help. Are there any unreliable points in the

Re: [Nagios-users] puzzling no output from nrpe run of check_load

2012-04-25 Thread Peter N. Steinmetz
Yes, ls -l /proc/loadavg shows: -r--r--r-- 1 root root which I believe mean any user can read it. Yet, sudo su - nagios more /proc/loadavg returns nothing when the nagios user has /bin/false for a shell, and returns the expected output when the nagios user has /bin/bash for a shell.

Re: [Nagios-users] Use of customized macro in CONTACT definition

2012-04-25 Thread Alex Griffin
You said you tried to echo “EMAILID=$NAGIOS__CONTACTEMAILID”, but echoing this string will not set EMAILID to the value of $NAGIOS_CONTACTEMAILID. You should set EMAILID, and then echo it afterwards. Otherwise, looking over your settings they seem to be fine. Alex Griffin --- Tech Team

Re: [Nagios-users] Use of customized macro in CONTACT definition

2012-04-25 Thread Deborah Martin
Alex, Thanks, but I set _EMAILID in my contact definition so by echoing it in my script via defining a service that calls that script as a plugin which has a contact defined as test-admin surely I have set it. According to the docs, nagios prefixes custom macros with NAGIOS__CONTACT if

Re: [Nagios-users] puzzling no output from nrpe run of check_load

2012-04-25 Thread Peter N. Steinmetz
Some more information and experimentation today. After reading the NRPE manual, I noticed that they refer to being able to log in as the nagios user and having a password. The configuration which is established by the package installations under ubuntu are to have the nagios user allowing

Re: [Nagios-users] puzzling no output from nrpe run of check_load

2012-04-25 Thread Roger Burton West
On Wed, Apr 25, 2012 at 04:18:26PM -0700, Peter N. Steinmetz wrote: So why is it that proper functioning of the check_load plugin on the nrpe server requires a shell? and password for login? It does seem that the more correct method of operation is a non-login shell with permissions set

Re: [Nagios-users] puzzling no output from nrpe run of check_load

2012-04-25 Thread Peter N. Steinmetz
On Wed, Apr 25, 2012 at 04:18:26PM -0700, Peter N. Steinmetz wrote: So why is it that proper functioning of the check_load plugin on the nrpe server requires a shell? and password for login? It does seem that the more correct method of operation is a non-login shell with permissions set

[Nagios-users] Parent and Child Relationships

2012-04-25 Thread Jim McNamara
I'm having an issue figuring out the parents remote routers that are connected over radio links to my main router. In one of my installations I have remote hosts (D) behind a remote router (C) that is connected to my main network via two radio connections (B1,B2). The main router (A) is needed to