Re: [Nagios-users] How to get reboot messages

2007-11-29 Thread Donnell Lewis
You could also (if it's linux) just put a simple mail command with message in /etc/rc.local which executes after system boot and init. -Don On Thu, 2007-11-29 at 11:59 -0600, chris serafin wrote: > I have a bunch of devices which alert me fine up/down, but I'm looking > to find how to get message

Re: [Nagios-users] Centralizing NRPE Configuration

2007-11-28 Thread Donnell Lewis
uses cfengine as it's backend. Good stuff, but is a bit of learning curve. -Donnell Lewis On Wed, 2007-11-28 at 09:07 -0500, Cipriani, Robert C wrote: > True, the nrpe config will be generic, and will only have to push nrpe.cfg > when I add new commands. I just wanted to know what too

Re: [Nagios-users] Monitoring Nagios

2007-11-28 Thread Donnell Lewis
it can send out about specific things. You can have it notify just for about anything, maybe this will help you out. http://www.tildeslash.com/monit/ -Donnell Lewis On Wed, 2007-11-28 at 14:52 +0100, Mohr James wrote: > Hi All! > > We had a problem the other day where the nagios pro

Re: [Nagios-users] On-Call Rotation

2007-10-15 Thread Donnell Lewis
Likewise here, we have a qmail server and I just setup a adminonduty contactgroup and defined a timeperiod for adminonduty contacts and then wrote a simple bash script that looks for the current adminonduty in the adminonduty.cfg file that holds the group definition and according to what the curren

Re: [Nagios-users] separate webfront

2007-09-11 Thread Donnell Lewis
Or you could use the distributed monitoring method: have a master nagios server (running the web front-end) running at one locationa and then have another (or multiple) nagios daemons running on the other boxes that actually check the local machines at that colo and send passive check results via

[Nagios-users] Hosts/service Acknowledgement comment staleness?

2007-09-11 Thread Donnell Lewis
to the 3rd box under send notifications for the persistent option. Anyone else experience this behavior ? Donnell Lewis "You can judge the character of others by how they treat those they think can do nothing for them..."-Malcom Forbes

Re: [Nagios-users] check_dns_random

2006-11-16 Thread Donnell Lewis
On Thu, 2006-11-16 at 12:20 -0500, Ugo Bellavance wrote: > # 'check_dns1_random' command definition > define command{ > command_namecheck_dns1_random > command_line$USER1$/contrib/check_dns_random.pl 127.0.0.1 > } Just out of curiousity have you tried: # 'check_dns1_ran

Re: [Nagios-users] Customized map for customers

2006-11-16 Thread Donnell Lewis
On Thu, 2006-11-16 at 11:54 +0200, Varaillon Jean Cristophe wrote: > Hi, > > We are an ISP and we have a lot of customers set-up with VRF. > > Using Nagios, would I be able to provide a customized map to my customer > where the would see: > > Their_Remote_Office_Router---Their_Central_Of

Re: [Nagios-users] SOLVED: RE: Plugin error: Remote cisco command via SSH notworking

2006-11-16 Thread Donnell Lewis
Don't forget you may also want to post this on nagiosexchange.com as it's a great resource for Nagios related projects. Thx, -Don Lewis On Thu, 2006-11-16 at 17:13 +0100, Javier Castillo Alcibar wrote: > Hello, > > I think I solved the problem. Notice this command in my perl script: > "$ENV{'H

Re: [Nagios-users] nagios startup options

2006-11-14 Thread Donnell Lewis
root. I have our checking on crontab like every 5 or 10 minutes, can't remember which. -Donnell Lewis On Tue, 2006-11-14 at 16:46 -0600, Brian Loe wrote: > On 11/14/06, Donnell Lewis <[EMAIL PROTECTED]> wrote: > > I always like using the nagios process check myself rather than

Re: [Nagios-users] nagios startup options

2006-11-14 Thread Donnell Lewis
eck_nagios -e 5 -F /usr/local/nagios/var/nagios.log -C /usr/local/nagios/bin/nagios if [ "${?}" != 0 ] ; then echo "CRITICAL:Nagios not found running..." $cmdstart else echo "OK:Nagios runnning..." fi exit -Donnell Lewis On Tue, 2006-11-14 at 22:29 +0100, Hugo van der K

Re: [Nagios-users] nagios startup options

2006-11-14 Thread Donnell Lewis
f the nagios process itself is running and if not start it up through the service control or command line string. You really needed to provide a little more info like what distro etc you are running, but that's the gist of it. -Donnell Lewis On Tue, 2006-11-14 at 13:55 -0600, Brian Loe wrote:

Re: [Nagios-users] How can you set service check execution time? (aside from passive cron)

2006-11-13 Thread Donnell Lewis
Should be able to create another timzperiod config in the timeperiods.cfg I would imagine and in the service definition use the check_period Could have additional timeperiod definition for a certain time each day which would execcute the service checks JUST between those times

Re: [Nagios-users] Running check_nagios by ssh

2006-10-31 Thread Donnell Lewis
Here is a script I wrote for checking that the master is running or not and it will ENABLE/DISABLE the service checks and notifications accordingly on the slave depending on it's check results of the master. You will need to edit the variables accordingly and remove the rsync stuff as I used it to

Re: [Nagios-users] Viewing a subset of systems checked by Nagios

2006-10-25 Thread Donnell Lewis
Oh, and a side note, make sure of course that you add the same username to the web auth that you use for the contact in contact.cfg. -Don Lewis On Wed, 2006-10-25 at 14:30 +0100, Wheeler, JF (Jonathan) wrote: > I have a Nagios installation with ~700 hosts and ~11000 services. What > we would lik

Re: [Nagios-users] Viewing a subset of systems checked by Nagios

2006-10-25 Thread Donnell Lewis
Yes this is possible. You would need to add the client(person) to the contacts.cfg file and then either to an existing contact group in contactgroups.cfg or make a new contactgroup specifically for that client. Unless given ALL privs in cgi.cfg every each user that has been added to the authentic

Re: [Nagios-users] Bizarre Behavior: Nagios Runs of Redhat Linux, but not Fedora

2006-09-15 Thread Donnell Lewis
Well, as for permissions, if I'm not mistaken in the docs somewhere it states to make sure you have SELinux disabled. So you also may want to make sure that is the case on your box as well. -DL On Fri, 2006-09-15 at 10:50 -0700, Vern Kyle wrote: > I doubt it's a permission issue. All files are

Re: [Nagios-users] SYN attacks from nagios

2006-09-14 Thread Donnell Lewis
Did the 'ping' command check itself change from the 2 different versions ? Check in checkcommands.cfg, see if the command definition is the same between the two. -DL On Thu, 2006-09-14 at 17:07 +0100, [EMAIL PROTECTED] wrote: > [EMAIL PROTECTED] wrote on 14/09/2006 17:00:29: > > > Good morning,