As I said, it's possible to extract the data from the variables you
mentioned.
*[root@bravura ~]# cat /usr/local/nagios/libexec/just_test*
#!/bin/bash
echo $NAGIOS_HOSTNAME
*Define a command:*
define command {
command_namejust_test_cmd
command_line$USER1$/just_test
You need to append "NAGIOS_" eg. NAGIOS_NOTIFICATIONTYPE. And also make
sure you do "enable_environment_macros=1" in nagios.cfg
Ruslan
On Thu, Aug 2, 2012 at 12:32 PM, Assaf Flatto wrote:
> **
> The marco's are internal to nagios and will not be read from an external
> text file .
>
> there is
Does it mean I have to create two different service templates and specify
my emails there?
On Mon, Jul 30, 2012 at 11:13 AM, Assaf Flatto wrote:
> **
> Yes , you can use two different contacts , one that has only warning , and
> the other only for critical .
>
>
>
>
> O
Hi,
I was wondering if it's possible to achieve something a la:
- when CPU alerts are warning, they should go to us...@foo.com
- when CPU alerts are critical, they should go to us...@foo.com
Ruslan
--
Live Security Virt
Actually, the machine I am running this plugin from is a Windows 2008 server.
Ruslan
On Jul 25, 2012, at 6:39 PM, Alberto Larripa wrote:
> Do you have installed the last versiĆ³n of the check_ntpd plugin in you
> client-server machine?, this problem sometimes occur if you don't have the
> last
Sorry, I typed wrong. I meant, the machine executing check_ntp_time is a RHEL
server, while the host I'm checking (-H) is a Windows server.
Ruslan
On Jul 25, 2012, at 7:59 PM, Ruslan Valiyev wrote:
> Actually, the machine I am running this plugin from is a Windows 2008 server.
>
Hi all,
Sometimes the output from check_ntp_time is "Offset unknown" while the ntp
server is fine.
It can stay like that for a while and then comes back to normal.
Here's a sample output while the problem was present on the server:
*[root@bravura plugins]# ./check_ntp_time -v -H windows.foo.com
Hi all,
We have custom variables like this:
define host {
use linux-server
host_name host.foo.com
address 192.168.1.44
_serverfunction Oracle EBS R12 Application Server
_serveradminAdmins_Linux
_se