Re: [Nagios-users] Down time in UP messages?

2007-01-13 Thread Jedrzej Jajor
Hi Hugo, > Hi, > > Did someone manage to get the down time in UP messages for hosts and/or > services? > > I have been tampering a little bit with it but could not get any > reliable/workable results. But I may havebeen missing out something rather > obvious. > > I tried a thing like: > > #

[Nagios-users] Down time in UP messages?

2007-01-13 Thread Hugo van der Kooij
Hi, Did someone manage to get the down time in UP messages for hosts and/or services? I have been tampering a little bit with it but could not get any reliable/workable results. But I may havebeen missing out something rather obvious. I tried a thing like: # command_line/usr/bin/pr

Re: [Nagios-users] Interval setup

2007-01-13 Thread Andy Shellam (Mailing Lists)
Along with the usual "read the manual" comment ;) ... - Timing Interval Length This is the number of seconds per "unit interval" used for timing in the scheduling queue, re-notifications, etc. "Units intervals" are used in the object configuration file to determine how often to run a servic

Re: [Nagios-users] Interval setup

2007-01-13 Thread Daniel
Guten Tag Daniel, am Samstag, 13. Januar 2007 um 19:25 schrieben Sie: > Guten Tag Rob Blake, > am Samstag, 13. Januar 2007 um 13:30 schrieben Sie: >> In your nagios.cfg, what is the timing_interval set to? Taken from the main >> Nagios docs: >> **"This is the number of seconds per "unit inter

Re: [Nagios-users] Interval setup

2007-01-13 Thread Daniel
Guten Tag Rob Blake, am Samstag, 13. Januar 2007 um 13:30 schrieben Sie: > In your nagios.cfg, what is the timing_interval set to? Taken from the main > Nagios docs: > **"This is the number of seconds per "unit interval" used for timing in the > scheduling queue, re-notifications, etc. "Units i

[Nagios-users] Host Duration Macro

2007-01-13 Thread Shawn Holland
Hi all, I am running: Nagios 2.2 SuSE 10.1 I have modified libexec/send_mail.pl and my config file to include the macro $HOSTDURATION$ As per doc: $HOSTDURATION$ A string indicating the amount of time that the host has spent in its current state. Format is "XXh YYm ZZs", indicating hours, m

Re: [Nagios-users] Plugin issue

2007-01-13 Thread Andy Shellam (Mailing Lists)
[EMAIL PROTECTED] wrote: > you mean the one in the command.cfg file?its like this: > define command{ > command_namecheck_ping > command_line$USER1$/check_ping -H $HOSTADDRESS$ -w $ARG1$ -c > $ARG2$ -p 5 > } > well the vales are being passed to the variables declared

Re: [Nagios-users] Interval setup

2007-01-13 Thread Rob Blake
On 1/13/07, Daniel <[EMAIL PROTECTED]> wrote: Hi all, i want to setup different intervals on my checked hosts: In this case i want that nagios checks every 60sec but it seems that nagios wont do that. Here a snip out of my config: define host{ use generic-

Re: [Nagios-users] Plugin issue

2007-01-13 Thread Andy Shellam (Mailing Lists)
What's the command line of your check_ping command (as defined in Nagios?) The correct syntax is: /path/to/nagios/plugins/check_ping -H -w 2000,25% -c 4000,50% whereby is the IP of the machine to ping, 2000 is the round-trip time (in ms) to generate a warning, 25% is the packet-loss amount to

[Nagios-users] Plugin issue

2007-01-13 Thread tyrus
Hi guys am still running nagios and now there,s this error am getting with the check_ping command. It is giving me an error that: check_ping: %s: Warning threshold must be integer or percentage! Am wondering why that is the case and yet am able to ping th machine. am running red hat 9 AS and nagios