Hello Jonathan,
I think that you must put
define service {
service_description Oracle
host_name oddjob.resnet.bris.ac.uk
use resnet-service
max_check_attempts 1
check_freshness 1
I see that you are talking to a XenServer host. I am performing something
similar. What I have had to do to achieve results is to create a local Nagios
user on the XenServer host which has SSH keys to allow the server Nagios user
to connect and avoid using any root SSH keys which the Nagios
Hi Mohamed,
Thanks for your response - this worked.
Have a nice day,
Jonathan
On 16/08/12 08:08, mohamed ben romdhane wrote:
Hello Jonathan,
I think that you must put
define service {
service_descriptionOracle
host_name
Hi there guys.
I defined my own command to use an internal sms sistems, so we can send an
sms alert along with the e-mail ones.
This is what the script do.
#!/bin/bash
HOST=$1
STATE=$2
lynx http://server:/SMSService/$HOST-State-$STATE
The command definition is:
# send-sms
define command{
The first thing that spring to mind is that the SMS script is being run for
host alerts for which the service variable would not be defined. It may be
worth checking your contact notification definitions to make sure that hosts or
services are different.
James
From: Net Warrior
Hi,
try to use the attribute $SERVICESTATEID$
(A number that corresponds to the current state of the service: 0=OK,
1=WARNING, 2=CRITICAL, 3=UNKNOWN.)
Best regards,
Mohamed
De : Net Warrior netwarrior...@gmail.com
À : nagios-users@lists.sourceforge.net
Yes, you are right, after I fired the mail to the list, I checked that, my
appologies, I notice that host uses HOSTSTATE and service uses
SERVICESTATE, I changed that and defined two commands instead, gonna see if
that fix the problem
service_notification_commands
All,
I don't know if anyone else already posted this, I just joined the mail list.
We have been using check_openmanage (brilliant piece of work!) to check the
hardware status of our Dell machines, lately we are moving from ESX 4 to ESXi 5
and found that the check_openmanage check could not
You get more reported back from check_esxi_hardware.py if the check detects any
error conditions.
I did a lot of work on this last year, see my blog post about it for example
output when things don't work:
http://www.rebee.clara.net/blog/archives/2011/04/entry_185.html
Cheers,
Phil
--
Phil