Re: [Nagios-users] reload appears to cause force of DOWN; SOFT; x to DOWN; HARD; 1

2013-06-13 Thread Travis Runyard
Do you have this in nagios.cfg? retain_state_information=1 On Thu, Jun 13, 2013 at 4:31 PM, Sean McKell wrote: > Running 3.4.1: > I see this strange anomaly, where a host check is in the middle of doing > retries before hitting max_attempts, but after a server reload occurs, the > next check is

Re: [Nagios-users] Misplaced advice in the Nagios preflight check?

2013-06-10 Thread Travis Runyard
This is by design, and it is only a warning message. The config is valid and should work as you intended. It doesn't make sense to get a recovery notification for something you never knew was a problem. "Unknowns" are not considered problems in Nagios logic. On Mon, Jun 10, 2013 at 1:25 PM, Chris

Re: [Nagios-users] Macros Variable Definitions

2013-04-05 Thread Travis Runyard
Can you provide us your command and contact definition? It should be $SERVICEOUTPUT$ though. On Fri, Apr 5, 2013 at 7:38 AM, Net Warrior wrote: > Hi Guys. > > I have an script to send sms alert, and among other thing which I send, > I'l like to include the available disk space i, available, use

[Nagios-users] Define Multiple Event Handlers

2013-02-21 Thread Travis Runyard
I'm trying to define multiple event handlers for a service but am getting the error during preflight check: Error: Event handler command 'update-nagex,reset-proc' specified in service I've tried two different ways to define it in the service: event_handler update-nagex,reset-proc and event_han

Re: [Nagios-users] R: too much memory usage on Nagios server

2013-02-18 Thread Travis Runyard
Nagios.cfg and default is enabled if i recall correctly. Or google, my friend. Nagios.org also has very thorough documentation. On Feb 18, 2013 1:58 AM, "Marco Borsani" wrote: > I am sorry, I don’t remember If the embedded Perl is enabled .. how can I > verify ? > > ** ** > > Regards > >

Re: [Nagios-users] check_http fails on Cisco ASA

2013-01-31 Thread Travis Runyard
Have you tried check_http -I -S The -H is for hostnames On Thu, Jan 31, 2013 at 8:35 PM, Frank Bulk wrote: > Does anyone have check_http working against the SSL VPN GUI interface of a > Cisco ASA? > > Whenever I check it always closes, but wget and curl work fine: > ===

Re: [Nagios-users] Email notification while scheduling downtime

2012-11-27 Thread Travis Runyard
Its the "S" attribute, just like D,U,C,W,R etc... just put it in your contacts.cfg and templates.cfg On Tue, Nov 27, 2012 at 12:19 AM, trm asn wrote: > Dear Friends, > > I would like to setup an email notification mechanism while adding a > schedule maintenance downtime. It should use the exist

Re: [Nagios-users] Check_http status 503 gives 200 OK

2012-11-20 Thread Travis Runyard
He's not using host headers in his definition. On Tue, Nov 20, 2012 at 12:05 AM, Joerg Linge wrote: > again > > check_http -H -u http://www.testsomething.com > > is a proxy request. NOT an valid HTTP request > > Joerg > > Am 20.11.2012 um 08:35 schrieb Jaap van Arragon >: > > > Herewith >

Re: [Nagios-users] sms alert notification in Nagios 3.4.1

2012-08-28 Thread Travis Runyard
It is setup the same as any email address defined in contacs.cfg. thats why it is so easy On Aug 28, 2012 7:16 PM, "Kaushal Shriyan" wrote: > On Wed, Aug 29, 2012 at 5:53 AM, Travis Runyard > wrote: > > As Net Warrier said, using your phone company's email-to-text

Re: [Nagios-users] Notification did not execute

2012-08-28 Thread Travis Runyard
93328] SERVICE ALERT: hostname;SSH;CRITICAL;HARD;3;CRITICAL - > Socket timeout after 30 seconds > > [1346198377] HOST ALERT: hostname;UP;SOFT;3;PING OK - Packet loss = > 0%, RTA = 4.84 ms > > This is weird. > > Thanks for your time and support > Regards > > >

Re: [Nagios-users] sms alert notification in Nagios 3.4.1

2012-08-28 Thread Travis Runyard
@vtext.com service so I have nagios send a notification to that address for critical systems. Travis Runyard On Tue, Aug 28, 2012 at 5:06 PM, Net Warrior wrote: > Hi > I use my own internal sms system to send alerts, long time ago I use > the mobile company service to send > and

Re: [Nagios-users] Notification did not execute

2012-08-28 Thread Travis Runyard
t/docs/3_0/objectdefinitions.html -Travis Runyard On Tue, Aug 28, 2012 at 4:39 PM, Net Warrior wrote: > Hi there guys. > > I have face something weird, I did not get a notificationn of a down > state for a particular host, > this is the host config. > >

Re: [Nagios-users] NPC nagios/cacti

2012-08-27 Thread Travis Runyard
/usr/local/nagios/etc/objects On Aug 26, 2012 7:15 PM, wrote: > Hello, > I installed nagios using: > > apt-get install nagios3 > > I can't find the configuration files I need to edit to define hosts, > services etc. > I'm trying to use npc to integrate with cacti but it shows nagios status > as o

Re: [Nagios-users] Nagios Config Help

2012-07-03 Thread Travis Runyard
Thats depends on what you feel is acceptable and your environment. I have my normal check at 5, retry at 2 and max attempts at 2. That allows for a decently fast notification for me. I might even change the retry to 1 since i dont manage a huge environment, nagios takes like 2% cpu on a single vcpu

Re: [Nagios-users] Nagios Config Help

2012-07-02 Thread Travis Runyard
Wrong link sorry http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html On Mon, Jul 2, 2012 at 10:05 AM, Travis Runyard wrote: > The retry check interval should be smaller value than the normal check > interval. When a problem is detected, you don't want to delay the check

Re: [Nagios-users] Nagios Config Help

2012-07-02 Thread Travis Runyard
The retry check interval should be smaller value than the normal check interval. When a problem is detected, you don't want to delay the check even more, you want to retry the check and find out if there really is a problem. Here is a good reference for you: http://nagios.sourceforge.net/docs/3_0/

Re: [Nagios-users] Monitoring Windows 2008 DHCP service

2012-06-25 Thread Travis Runyard
Why use check_nt still? Use NRPE check_nt!SERVICESTATE!-d SHOWALL -l DHCPServer or check_nrpe!CheckServiceState -a DHCPServer On Mon, Jun 25, 2012 at 1:27 AM, Bruno Martins wrote: > Hi list, > > ** ** > > I used to monitor Windows Server 2003 DHCP service through this: > > ** ** > > chec

Re: [Nagios-users] check_http

2012-06-14 Thread Travis Runyard
You can monitor the path of a website with the -u option. Here is an example: check_http -H mysite.com -u "/tux" -f follow You will probably want to use the "-f follow" option if your website uses any kind of redirection method. ;-) Travis Runyard On Wed, Jun 13, 2012 at 6:1

Re: [Nagios-users] Error: Service check command

2012-06-12 Thread Travis Runyard
Don't specify "-H ftpserver" in the service definition since the command already knows which host to check. Good: define service{ use generic-service hostgroup_nameweb-servers service_descriptionFTP check_command

Re: [Nagios-users] check_ping strange behavior with google

2012-06-07 Thread Travis Runyard
Hats off to you, Holger. It does work but I was using google.com which doesn't. Strange because it is pingable but returns network unreachable with check_ping. Hey at least I learned something today. On Thu, Jun 7, 2012 at 1:10 PM, Holger Weiß wrote: > * Travis Runyard [2012-06-

Re: [Nagios-users] check_ping strange behavior with google

2012-06-07 Thread Travis Runyard
wrote: > * Travis Runyard [2012-06-07 09:56]: > > http://nagiosplugins.org/man/check_ping > > > > = IP address. NOT hostname. > > Indeed, "host_address" seems to suggest an IP address. Then again, the > long option is called "--hostname" :-) Anywa

Re: [Nagios-users] check_ping strange behavior with google

2012-06-07 Thread Travis Runyard
http://nagiosplugins.org/man/check_ping = IP address. NOT hostname. $HOSTADDRESS$Address of the host. This value is taken from the *address* directive in the host definition<http://av01mon1/nagios/docs/objectdefinitions.html#host> . On Thu, Jun 7, 2012 at 8:56 AM, Holger Weiß wrote: >

Re: [Nagios-users] check_ping strange behavior with google

2012-06-07 Thread Travis Runyard
The check_ping Nagios plugin does not ping hostnames, only IP addresses. -Travis On Wed, Jun 6, 2012 at 11:54 PM, Cosmin Neagu wrote: > Hi nagios users, > > Starting from yesterday, check_ping is behaving strange for a single host. > When giving -H parameter as www.google.ro it gives CRITICAL -