[Nagios-users] testing from nagios server itself

2009-07-28 Thread Thomas Kinghorn - MWEB
Good morning list I would like to run a check_sipsak check from the nagios-server to the a sip server. Running the command from cli, without arguments, gives ./check_sipsak ERROR: Sorry, but a hostname or full URI must be given. check_sipsak -H host [-c contact] [-P proxy] [-p port] [-u user]

Re: [Nagios-users] nrpe won't connect - contradictory messages in log

2009-07-28 Thread Richard Remington
Dear Whit, This URL might come in handy. It's where I keep my notes on issues I have with NRPE on various platforms. It's not very extensive yet but shows a number of possible solutions to the SSL handshake deal. http://handyswitches.org/index.php?title=nrpe#TROUBLESHOOTING Regards, Richard R

Re: [Nagios-users] Nagios SNMP Plugin

2009-07-28 Thread Richard Remington
Peter, This isn't exactly an easy example because it incorporates the check_multi plug-in, but you should be able to get the idea. My service check definition calls check_multi... define service {; Check T1 OperStatus on Cisco 5300's service_description DS0 OperStatus check_c

Re: [Nagios-users] nrpe won't connect - contradictory messages in log

2009-07-28 Thread Whit Blauvelt
On Tue, Jul 28, 2009 at 01:57:25PM -0400, Whit Blauvelt wrote: > I'm see other discussions here that suggest there could have been a > compile-time problem with the SSL libraries. I'll check that. Checked that. Not the case. The SSL libraries and headers were found, and the DH parameters generate

[Nagios-users] nrpe won't connect - contradictory messages in log

2009-07-28 Thread Whit Blauvelt
Hi, This is with nrpe-2.12, built from tar: On the remote host: daemon.log:Jul 28 13:22:42 system2 nrpe[7460]: Starting up daemon daemon.log:Jul 28 13:22:42 system2 nrpe[7460]: Listening for connections on port 5666 daemon.log:Jul 28 13:22:42 system2 nrpe[7460]: Allowing connections from: 127

Re: [Nagios-users] Nagios SNMP Plugin

2009-07-28 Thread Peter Gritsch
On Tuesday 28 July 2009, Tom Denham wrote: > Anyone out there have any examples of using Nagios SNMP plugin to > perform simple queries for Cisco Routers and Linux boxes? I'm > thinking of basic queries such as uptime, cpu, storage, etc.. http://snmp4nagios.sourceforge.net > I was thinking of us

Re: [Nagios-users] Nagios SNMP Plugin

2009-07-28 Thread Ford, Andy
Uptime is pretty easy. CPU and Storage are well handled by these plugins: http://nagios.manubulon.com/ Here's braindead (positional parameters, Oh My!) simple plugin for sysUptime that is useful if you want to know when the uptime crosses some threshold: #!/usr/local/nagios/bin/perl use warning

Re: [Nagios-users] SNMP configuration

2009-07-28 Thread Natxo Asenjo
On Tue, Jul 28, 2009 at 3:04 PM, Dayo Adewunmi wrote: > Hi > > according to my switch's manual, these are the SNMP Group Access Levels > available. > http://paste.ubuntu.com/235182/ I have no idea what they are talking about. From the nagios server, run these command: # snmpwalk -v 1 -c public ip

[Nagios-users] Nagios SNMP Plugin

2009-07-28 Thread Tom Denham
Anyone out there have any examples of using Nagios SNMP plugin to perform simple queries for Cisco Routers and Linux boxes? I'm thinking of basic queries such as uptime, cpu, storage, etc.. I was thinking of using the check_snmp cmd, but syntax is a bit confusing...if you know of a better way tha

Re: [Nagios-users] SNMP configuration

2009-07-28 Thread Alex Dehaini
Hi Dayo, I have some questions in order to help you 1. Is your switch an ubuntu server? 2. Is the SNMP service enabled and running on your switch? 3. What is the community string on your switch? 4. Is your nagios server allowed SNMP access to your switch? Regards, Alex Dehaini On Tue, Jul 28,

Re: [Nagios-users] Nagios 3.0.6 process hangs, then recovers

2009-07-28 Thread Andrew Noonan
It's not in a VM, and I haven't been able to catch it when it it actually happening yet. BTW, the system is running CentOS 4.7 On Tue, Jul 28, 2009 at 8:52 AM, Brian A. Seklecki wrote: > On Mon, 2009-07-27 at 17:33 -0500, Andrew Noonan wrote: >> have something to do with things... perhaps a hang

Re: [Nagios-users] Monitoring log file on windows machine

2009-07-28 Thread Kevin Keane
Are you talking about the Windows event log? There are various plugins available on Monitoringexchange.org for that. Or are you talking about a text log file produced by IIS and various other programs? There may still be plugins available for the specific log file you want to parse, or you may

[Nagios-users] SNMP configuration

2009-07-28 Thread Dayo Adewunmi
Hi according to my switch's manual, these are the SNMP Group Access Levels available. http://paste.ubuntu.com/235182/ This is the output of ./check_snmp -V: check_snmp v2021 (nagios-plugins 1.4.13) I'm new to SNMP, and need to know which GAL I should use. Best regards Dayo ---

[Nagios-users] R: Nagios and Microsoft CRM

2009-07-28 Thread Marco Borsani
Anyone uses/monitor MS CRM ?!?! Regards Marco -Messaggio originale- Da: Marco Borsani [mailto:m.bors...@it.net] Inviato: martedì 21 luglio 2009 10.12 A: 'Gareth Fletcher' Cc: nagios-users@lists.sourceforge.net Oggetto: [Nagios-users] R: Nagios and Microsoft CRM Well We are implementing

[Nagios-users] Monitoring log file on windows machine

2009-07-28 Thread chethan.mnc
Hi All, I m monitoring windows machine through nagios using NSclient++. How can I monitor log file on windows machine. I need to check for a particular pattern in the log file for sending any notification. Any help is appreciated. Thanks, Chethan

Re: [Nagios-users] loading host specific variables?

2009-07-28 Thread ibloodyhatespam
Just realised I might as well make nagios load a fixed "/etc/objects/customscripts.cfg" and have a shell script copy the right hostname.cfg to that file, based on hostname output. Still a workaround, but at least this will go right automatically :) -Original Message- From: ibloodyhates...@

Re: [Nagios-users] loading host specific variables?

2009-07-28 Thread ibloodyhatespam
That's quite similar to the workaround I have right now :) I've commented out lines in nagios.cfg that have to be disabled/enabled manually after copying and load specific cfgs... I'm wondering if it's possible to have nagios pay attention to variables within its cfgs and load based on that, simple

Re: [Nagios-users] loading host specific variables?

2009-07-28 Thread Christian Schneemann
On Tuesday July 28 2009 01:21:46 pm ibloodyhates...@gmail.com wrote: > Well, next to the regular servers.cfg, commands_check.cfg, > commands_definition.cfg etc etc etc there are a couple of things that are > different between hosts (notably event handlers), making one the master > host and one the

Re: [Nagios-users] loading host specific variables?

2009-07-28 Thread Christian Schneemann
On Tuesday July 28 2009 01:21:46 pm ibloodyhates...@gmail.com wrote: > Well, next to the regular servers.cfg, commands_check.cfg, > commands_definition.cfg etc etc etc there are a couple of things that are > different between hosts (notably event handlers), making one the master > host and one the

Re: [Nagios-users] loading host specific variables?

2009-07-28 Thread ibloodyhatespam
Well, next to the regular servers.cfg, commands_check.cfg, commands_definition.cfg etc etc etc there are a couple of things that are different between hosts (notably event handlers), making one the master host and one the slave host. I've already created a hostname1.cfg and a hostname2.cfg contain

[Nagios-users] Monitoring log file on windows machine

2009-07-28 Thread chethan.mnc
Hi All, I m monitoring windows machine through nagios using NSclient++. How can I monitor log file on windows machine. I need to check for a particular pattern in the log file for sending any notification. Any help is appreciated. Thanks, Chethan --

Re: [Nagios-users] loading host specific variables?

2009-07-28 Thread Christian Schneemann
Hi, On Tuesday July 28 2009 12:31:11 pm ibloodyhates...@gmail.com wrote: > Hi, > > > > I have two redundant nagios hosts, regularly sync their settings and it > would ease that process quite a bit if nagios would pick the right cfg > automatically, for example based on hostname (same way you would

[Nagios-users] loading host specific variables?

2009-07-28 Thread ibloodyhatespam
Hi, I have two redundant nagios hosts, regularly sync their settings and it would ease that process quite a bit if nagios would pick the right cfg automatically, for example based on hostname (same way you would for example be able to let samba load specific smb.cfgs based on the username). Was

Re: [Nagios-users] Update 3.0 to 3.1.2

2009-07-28 Thread Christian Schneemann
Hi, On Monday July 27 2009 02:45:59 pm Esteban Torres Rodriguez wrote: > how to update versión? > > I have nagios on RHEL 5.1 with install from .tar.gz. Can you explain why you did an installation from sources instead of an installation from rpm? I just want to collect thoughts/pros/contras from a

Re: [Nagios-users] ndo2db stop abnormal

2009-07-28 Thread 劉岳泓
After setting the debug_level of ndo2db to the highest and most verbose output, nothing seemed related to this situation, only bulk SQL commands in the debug file Michael Friedrich 提到: > Try setting the debug_level to the highest (ndo2db.cfg). check the > appropriate file permissions on nd

[Nagios-users] Configuration file limits

2009-07-28 Thread Artem Naluzhnyy
Hi, Are there any size limits for Nagios configuration files? I have one $ ls -l -rw-rw-r-- 1 nagios www 2964171 Jul 27 17:51 autogenerated-endpoints.cfg $ wc -l autogenerated-endpoints.cfg 70656 autogenerated-endpoints.cfg $ uname -sr FreeBSD 7.2-RELEASE-p1 and there are fol

[Nagios-users] Antwort: FW: Antwort: Notification oddity

2009-07-28 Thread Sascha . Runschke
> I’ve taken a look in my templates and found that my hosts, services, > and contacts all have notifications enabled and are set for 24x7. I > don’t see any reason for Nagios not to send notifications at all, > but it has definitely decided not to do so for some reason. Did you check if you by a

Re: [Nagios-users] R: Nagios 3 compatible RSS

2009-07-28 Thread Marc-André Doll
Sure. Feel free to use it and/or modify it. Here is the command definition in Nagios : define command { command_name notify-host-rss command_line $USER1 $/notification_rss.pl -n '$NOTIFICATIONTYPE$' -H "$HOSTNAME$" -e $HOSTSTAT