You can refer to them using $user$ in resources.cfg but I've kept mine simple.
the root / password is for the VMWare host, don't forget the UK at the end or whatever code is required for your country.
My USER1 has the location of my plugins so i put my script in there.
Search found 9 matches
- Fri Aug 02, 2013 4:01 am
- Forum: Open Source Nagios Projects
- Topic: Error trying to monitor ESXI machine
- Replies: 8
- Views: 3048
- Fri Aug 02, 2013 4:00 am
- Forum: Open Source Nagios Projects
- Topic: Email Notifications not being received
- Replies: 9
- Views: 4197
Re: Email Notifications not being received
Restarted the server, allocated more memory, and all is well. how annoying that this didn't come up when the email address was hardcoded in.
- Fri Aug 02, 2013 2:52 am
- Forum: Open Source Nagios Projects
- Topic: Email Notifications not being received
- Replies: 9
- Views: 4197
Re: Email Notifications not being received
Interesting as I'm using Exchange 2013 on Server 2012 that isn't live yet.... It has 8Gb RAM and 4 CPU's. Just going to take a look at it now. -Queue ID- --Size-- ----Arrival Time---- -Sender/Recipient------- 303477C1 559 Fri Aug 2 08:42:33 "nagios@nagios"@hambleton.gov.uk (host 10.1.2.239...
- Thu Aug 01, 2013 3:57 pm
- Forum: Open Source Nagios Projects
- Topic: Email Notifications not being received
- Replies: 9
- Views: 4197
Re: Email Notifications not being received
cheers - I will check tomorrow
- Thu Aug 01, 2013 11:09 am
- Forum: Open Source Nagios Projects
- Topic: Email Notifications not being received
- Replies: 9
- Views: 4197
Re: Email Notifications not being received
This is mad - I've just re-submitted a passive check and blow me - it's not only gone and emailed me... I wonder if the email queue is full????
- Thu Aug 01, 2013 11:06 am
- Forum: Open Source Nagios Projects
- Topic: Email Notifications not being received
- Replies: 9
- Views: 4197
Re: Email Notifications not being received
Yes - I should have posted up my current commands.cfg for the notification - it is as below.. # 'notify-host-by-email' command definition define command{ command_name notify-host-by-email command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\nH...
- Thu Aug 01, 2013 10:46 am
- Forum: Open Source Nagios Projects
- Topic: Error trying to monitor ESXI machine
- Replies: 8
- Views: 3048
Re: Error trying to monitor ESXI machine
I have define command{ command_name check_esxi_hardware command_line $USER1$/check_esxi_hardware.py -H $HOSTADDRESS$ -U $ARG1$ -P $ARG2$ -V $ARG3$ -I $ARG4$ in my command.cfg I use check_command check_esxi_hardware!root!passwordhere!hp!uk and this works fine? Does that help as yours looks a little d...
- Thu Aug 01, 2013 10:35 am
- Forum: Open Source Nagios Projects
- Topic: Error trying to monitor ESXI machine
- Replies: 8
- Views: 3048
Re: Error trying to monitor ESXI machine
I put this line into my services.cfg check check_command check_esxi_hardware!username!password!hp!uk This is in my commands.cfg define command{ command_name check_esxi_hardware command_line $USER1$/check_esxi_hardware.py -H $HOSTADDRESS$ -U $ARG1$ -P $ARG2$ -V $ARG3$ -I $ARG4$ The python check scrip...
- Thu Aug 01, 2013 5:57 am
- Forum: Open Source Nagios Projects
- Topic: Email Notifications not being received
- Replies: 9
- Views: 4197
Email Notifications not being received
Hi all Hoping that my Obi Wan is here as I'm pulling my hair out here. I have Nagios 3.4.1 running Ubuntu Server 13.04. I have postfix service installed. (I have changed the email address below to a generic one but the real one works) I originally set the commands.cfg email to be as below as I was t...