Re: [Nagios-users] check_logs.pl question

2005-11-11 Thread Jason Martin
On Thu, Nov 10, 2005 at 05:07:11PM +1030, Mark Limburg wrote: > lets say I have 14 matched instances when I do my check_logs.pl .. via NRPE > is it possible to return EACH of the 14 instances for the email? No. A plugin can return one line of output, and only one status for that checks. -Jason Mar

RE: [Nagios-users] is there an enable event handler external command?

2005-11-11 Thread Lori Adams
http://www.nagios.org/developerinfo/externalcommands/commandlist.php   I believe this list is the full one.    See DISABLE_SVC_EVENT_HANDLER, and ENABLE_SVC_EVENT_HANDLER.   -Lori   From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of kristi tsukida Sent: Thursd

RE: [Nagios-users] nagios -v minimal.cfg ???

2005-11-11 Thread Lori Adams
Did you notice the error message given to you?  The –v flag is very good at letting you know what it sees as a problem. You’re using the wrong config file in your command, just like it tells you in the error statement.    -Lori   From: [EMAIL PROTECTED] [mailto:[EMAIL PROTEC

Re: [Nagios-users] Please tell me a sane way to comment out hosts/services

2005-11-11 Thread Jim Perrin
On 11/11/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > > On mine I put a # sign in front of the line and it remarks the line out. > > > I know, its just that doing that 200+ times for all the lines gets > tiresome... There should be one straightforward way to say "I don't > want this host

Re: [Nagios-users] Please tell me a sane way to comment out hosts/services

2005-11-11 Thread prosolutions
> > On mine I put a # sign in front of the line and it remarks the line out. I know, its just that doing that 200+ times for all the lines gets tiresome... There should be one straightforward way to say "I don't want this host (and all its associated services monitored) without having to put "#

RE: [Nagios-users] SNMP

2005-11-11 Thread Robert Hajime Lanning
Yes, the hosts.cfg stuff: define host { host_name rtr-amk-bldg alias Singapore AMK building router address 10.4.96.1 hostgroups routers notification_interval 30 use host } As long as the host belongs to a group (any group) the Service entry has "hostgroup_name *", so every host in every ho

RE: [Nagios-users] Please tell me a sane way to comment out hosts/services

2005-11-11 Thread Marc Powell
> -Original Message- > From: [EMAIL PROTECTED] [mailto:nagios-users- > [EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] > Sent: Friday, November 11, 2005 2:29 PM > To: nagios-users@lists.sourceforge.net > Subject: [Nagios-users] Please tell me a sane way to comment out > hosts/services >

RE: [Nagios-users] Please tell me a sane way to comment out hosts/services

2005-11-11 Thread Edward Ford
On mine I put a # sign in front of the line and it remarks the line out. Eddie -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Friday, November 11, 2005 3:29 PM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Please

Re: [Nagios-users] SNMP

2005-11-11 Thread Adams, Russell L.
I'd setup snmptrapd to listen and log to syslog. Then I'd parse syslog with a tool like Logmuncher or LogSentry and forward the results to Nagios via external command, or just by email. Russell On Fri, Nov 11, 2005 at 10:52:32AM -0800, Slighter, Tim TQO wrote: > Hopefully someone out there can p

[Nagios-users] Please tell me a sane way to comment out hosts/services

2005-11-11 Thread prosolutions
Please can someone tell me a sane way to easily and conveniently comment out/disable hosts and all services associated with them? This commenting out each line in services.cfg and using register = 0 is starting to drive me crazy... --- SF.Net

RE: [Nagios-users] SNMP

2005-11-11 Thread Slighter, Tim TQO
Thanks, so the last part, "a host object for every IP that sends traps", assuming this is the hosts.cfg file, what entry would you place there? Thank you, Tim -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Robert Hajime Lanning Sent: Friday, November 11

Re: [Nagios-users] SNMP

2005-11-11 Thread Robert Hajime Lanning
> Hopefully someone out there can provide some advice on how to > tackle our SNMP problem. Currently, we have about 10 devices > sending 100+ SNMP alerts to our SNMP collector. The SNMP traps > are of many variations and mibs. We wish to configure Nagios > to passively accept all incoming SNMP

[Nagios-users] SNMP

2005-11-11 Thread Slighter, Tim TQO
Hopefully someone out there can provide some advice on how to tackle our SNMP problem.  Currently, we have about 10 devices sending 100+ SNMP alerts to our SNMP collector.  The SNMP traps are of many variations and mibs.  We wish to configure Nagios to passively accept all incoming SNMP tra

Re: [Nagios-users] nrpe ver. 2 on AIX 5.2

2005-11-11 Thread Andreas Ericsson
Rudy Montemayor wrote: Steve, Since I'm not the regular AIX administrator I didn't realize that the AIX syslogd was running but it was not logging any errors/messages. So I had to stop and restart it with debugging turned on and that's when I saw that it was in fact as you suggested a "SSL"

Re: [Nagios-users] notifications and time periods

2005-11-11 Thread Mathias Sundman
On Fri, 11 Nov 2005, Mariano Cunietti wrote: Hi list, I have to configure a couple of hosts (routers) to be monitored. I need them to be up from 9.00AM until 18.00. I want an email sent to the sysadmins *exactly* when the system goes down, but an SMS should be sent only during that time window.

RE: [Nagios-users] nrpe ver. 2 on AIX 5.2

2005-11-11 Thread Rudy Montemayor
Title: Message Steve,   Since I’m not the regular AIX administrator I didn’t realize that the AIX syslogd was running but it was not logging any errors/messages. So I had to stop and restart it with debugging turned on and that’s when I saw that it was in fact as you suggested a “SSL” pro

[Nagios-users] notifications and time periods

2005-11-11 Thread Mariano Cunietti
Hi list, I have to configure a couple of hosts (routers) to be monitored. I need them to be up from 9.00AM until 18.00. I want an email sent to the sysadmins *exactly* when the system goes down, but an SMS should be sent only during that time window. In other words, I want the admins to be inform

Re: [Nagios-users] Netsaint0.0.7-> Nagios2.0b4 (Contact group changes - The contact_groups directive has been moved from hostgroup definitions to host definitions.)

2005-11-11 Thread Andreas Ericsson
Declan McKay wrote: Hi Andrea, Thank you very much for your quick reply. Two Questions:- 1. Which script should I use? I think it's the object_config_fix.php one you need (it was quite some time ago I wrote it, being faced with converting some 100-odd 1.x configurations). 2 Should I use

Re: [Nagios-users] Netsaint0.0.7-> Nagios2.0b4 (Contact group changes - The contact_groups directive has been moved from hostgroup definitions to host definitions.)

2005-11-11 Thread Declan McKay
Hi Andrea, Thank you very much for your quick reply. Two Questions:- 1. Which script should I use? 2 Should I use the Netsaint0.0.7 cfg files as my input to the script or should I use the files created by the "Nagios Config file Converter"? Thanks again. Declan. - Original Message ---

Re: [Nagios-users] .pl & .cgi files on apache

2005-11-11 Thread Andreas Kasenides
Mehmet Fatih AKBULUT wrote: altough i wrote : ScriptAlias /nagios/cgi-bin "/usr/share/nagios/cgi-bin/" AllowOverride AuthConfig Order allow,deny Allow from all Options ExecCGI (and of course Alias /nagios ...) in my httpd.conf file i still cannot view any .cgi or .pl wor

Re: [Nagios-users] Netsaint0.0.7-> Nagios2.0b4 (Contact group changes - The contact_groups directive has been moved from hostgroup definitions to host definitions.)

2005-11-11 Thread Andreas Ericsson
Declan McKay wrote: Hi, on converting my Netsaint config files to the Nagios config file format using the Nagios Config File Converter I noticed that the pre-flight check is failing with an error for each Host defined in the hosts file - "No default contact group defined for host Blah..." The

[Nagios-users] Netsaint0.0.7-> Nagios2.0b4 (Contact group changes - The contact_groups directive has been moved from hostgroup definitions to host definitions.)

2005-11-11 Thread Declan McKay
Hi,   on converting my Netsaint config files to the Nagios config file format using the Nagios Config File Converter I noticed that the pre-flight check is failing with an error for each Host defined in the hosts file -  "No default contact group defined for host Blah..."   The documentatio

RE: [Nagios-users] Acknowledge via script?

2005-11-11 Thread Marc Powell
> -Original Message- > From: [EMAIL PROTECTED] [mailto:nagios-users- > [EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] > Sent: Friday, November 11, 2005 4:57 AM > To: nagios-users@lists.sourceforge.net > Subject: [Nagios-users] Acknowledge via script? > > Hi list, > > I´m using nagios2

RE: [Nagios-users] is there an enable event handler external command?

2005-11-11 Thread Marc Powell
> -Original Message- > From: [EMAIL PROTECTED] [mailto:nagios-users- > [EMAIL PROTECTED] On Behalf Of kristi tsukida > Sent: Thursday, November 10, 2005 11:50 PM > To: nagios-users@lists.sourceforge.net > Subject: [Nagios-users] is there an enable event handler external command? > > Is t

[Nagios-users] NotificationsMIB in nagiosplug

2005-11-11 Thread George Vidos
Hi list Could someone provide me with some info regarding how are these MIBs (NotificationsMIB) from nagiosplug(http://sourceforge.net/projects/nagiosplug) been utilized? Where are they loaded, how are they addressed by an SNMP Agent, etc? In more detail, what I need to implement in SuSe, is incl

[Nagios-users] NotificationsMIB in nagiosplug

2005-11-11 Thread George Vidos
Hi list Could someone provide me with some info regarding how are these MIBs (NotificationsMIB) from nagiosplug(http://sourceforge.net/projects/ nagiosplug) been utilized? In more detail, what I need to implement in SuSe, is include all notification-information inside the SNMP trap payload

Re: [Nagios-users] .pl & .cgi files on apache

2005-11-11 Thread Marcel Mitsuto Fucatu Sugano
On Thu, 2005-11-10 at 16:14 -0800, Mehmet Fatih AKBULUT wrote: > when i try to see the result of a simple pl script : > > http://127.0.0.1/nagios/cgi-bin/foo.pl > > i get this error : > > The requested URL /nagios/cgi-bin/foo.pl was not found on this server. Jeez... Well basically, you don't

[Nagios-users] Nagiostat and *.rrd archives not functioning after disk crash

2005-11-11 Thread Peter Farrell
Hi. We've had a disk error on one of our nagios servers, which we had to reboot to repair. After rebooting, all nagios functions work fine, but none of the nagiostat graphs will display. Initially, we thought the problem was with the services.cfg file. (At the time of the crash, the file was open,

Re: [Nagios-users] check_logs.pl question

2005-11-11 Thread Andreas Ericsson
Mark Limburg wrote: Okay, next plan. BoxA runs Nag .. BoxB run NRPE and does a check_logs .. is there a way for me to execute a shell script on BoxB if check_logs is triggered into warning? http://sysunconfig.net/unixtips/wgrep.txt is a damn fine tool which will allow me to grab the lines I wan

Re: [Nagios-users] disable service checks when a host goes down

2005-11-11 Thread Andreas Ericsson
Marc Powell wrote: -Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of Matt Rae Sent: Thursday, November 10, 2005 6:32 PM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] disable service checks when a host goes down I'm trying t

Re: [Nagios-users] Acknowledge via script? --> Excuse...

2005-11-11 Thread Thomas . Zimmer
Title: Re: [Nagios-users] Acknowledge via script? --> Excuse... ...my, I found the soultion by myself. It´s documented here (Google helped) http://www.nagios.org/developerinfo/externalcommands/commandinfo.php?command_id=39 Unfortunately, the docs are not complete in this point. Thomas Zimm

[Nagios-users] Acknowledge via script?

2005-11-11 Thread Thomas . Zimmer
Title: Acknowledge via script? Hi list, I´m using nagios2b4 and wrote a script which generates nice HTML emails for nagios notifications. The email includes a link for acknowledging a problem service/host. Unfortuatelly, I´can´t find an external commmand, by which I could append an acknowled

Re: [Nagios-users] nagios -v minimal.cfg ???

2005-11-11 Thread Rob Moss
Mehmet Fatih AKBULUT wrote: [EMAIL PROTECTED] nagios]# nagios -v minimal.cfg WHAT SHOULD I DO NOW ??? help please :) This is the third posting of yours which has been a timewaster. You haven't tried anything for yourself and have simply posted the error message, not what you are trying t

[Nagios-users] Citrix & Nagios

2005-11-11 Thread schönfeld / in-medias-res
Hi, at our company we run a citrix metaframe XP terminalserver, which should be monitored by nagios. We want nagios to monitor, if the terminal services are available from the network. Well i've found the ica plugins in the contrib directory but i can't figure out how to run them. The network set