Search found 7 matches

by lkthomas
Tue Apr 01, 2014 4:29 am
Forum: Open Source Nagios Projects
Topic: No audio alert
Replies: 1
Views: 2469

No audio alert

Hi all, I found something very interesting, currently I am running Ubuntu 12.04 + VLC web plugin. Web audio sound alert doesn't work, after couple hours of troubleshoot, I found out the problem is from this source code: working (modified): <object type="audio/x-wav" data="/nagios/medi...
by lkthomas
Thu Jan 16, 2014 3:36 am
Forum: Open Source Nagios Projects
Topic: $CONTACTEMAIL$ wouldn't expand to actual value
Replies: 11
Views: 5884

Re: $CONTACTEMAIL$ wouldn't expand to actual value

[1389861271.115887] [2048.0] [pid=4089] WARNING: Could not find a macro matching 'CONTACTEMAIL"'! [1389861271.115895] [2048.0] [pid=4089] WARNING: An error occurred processing macro 'CONTACTEMAIL"'! define command { command_name notify-host-by-email command_line /usr/bin/printf "%b&qu...
by lkthomas
Sun Jan 12, 2014 9:27 pm
Forum: Open Source Nagios Projects
Topic: $CONTACTEMAIL$ wouldn't expand to actual value
Replies: 11
Views: 5884

Re: $CONTACTEMAIL$ wouldn't expand to actual value

same problem: [1389580006.047341] [2048.1] [pid=956] Processing: '/usr/bin/printf "%b" "***** System Alert *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n" | /usr/bin/m...
by lkthomas
Thu Jan 09, 2014 9:02 pm
Forum: Open Source Nagios Projects
Topic: $CONTACTEMAIL$ wouldn't expand to actual value
Replies: 11
Views: 5884

Re: $CONTACTEMAIL$ wouldn't expand to actual value

define command { command_name notify-service-by-email command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional I...
by lkthomas
Tue Jan 07, 2014 8:51 pm
Forum: Open Source Nagios Projects
Topic: $CONTACTEMAIL$ wouldn't expand to actual value
Replies: 11
Views: 5884

Re: $CONTACTEMAIL$ wouldn't expand to actual value

That's the result after putting quote on CONTACTEMAIL: [1389145678.055954] [2048.1] [pid=27967] Processing: '/usr/bin/printf "%b" "***** System Alert *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDat...
by lkthomas
Mon Jan 06, 2014 8:31 pm
Forum: Open Source Nagios Projects
Topic: $CONTACTEMAIL$ wouldn't expand to actual value
Replies: 11
Views: 5884

Re: $CONTACTEMAIL$ wouldn't expand to actual value

define contact { contact_name thomas host_notifications_enabled 1 service_notifications_enabled 1 host_notification_period 24x7 service_notification_period 24x7 host_notification_options d,u,r,f,s service_notification_options w,u,c,r,f,s host_notification_commands notify-host-by-email,notify-service...
by lkthomas
Mon Jan 06, 2014 5:21 am
Forum: Open Source Nagios Projects
Topic: $CONTACTEMAIL$ wouldn't expand to actual value
Replies: 11
Views: 5884

$CONTACTEMAIL$ wouldn't expand to actual value

[1389002582.193171] [2048.1] [pid=11452] **** BEGIN MACRO PROCESSING *********** [1389002582.193199] [2048.1] [pid=11452] Processing: '/usr/bin/printf "%b" "***** System Alert *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\...