[Nagios-users] Nagios v3 & WAP

2008-06-10 Thread ROBERT SMALL
I recently upgraded from Nagios2 to version3, and it¹s running beautifully.
All except for the WAP interface.  I¹ve searched the web, and the archives
and haven¹t found anything that might help.

When my users go to the wap interface (which worked GREAT under v2) and try
to acknowledge a problem (either a host or a service), they get:

Error: You're not authorized to commit that command!

I¹ve made sure that they all have access to:

Authorization Requirements:
If you are authorized for system information you can view Nagios process
information. 
If you are authorized for all hosts you can view status data for all hosts
and services. 
If you are authorized for all services you can view status data for all
services. 

And they are authenticating.

If you are an authenticated contact you can view status data for all hosts
and services for which
you are a contact. 

Any ideas and help would be appreicated.

Thanks!

Robert
-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

[Nagios-users] Nagios v3 & email being sent to $

2008-06-13 Thread ROBERT SMALL
I have lots of messages in my nagios installation being sent to $.

I have searched my contacts and other configs and cannot find it.  We all
get email and notifications but there are the occasional $ emails and I
found Œem stuck in /var/spool/nagios/dead.letter (freebsd).

Does anyone have any ideas?

Robert
-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] Nagios v3 & email being sent to $

2008-06-13 Thread ROBERT SMALL
Other than changing the ³* Nagios * to * Nagios 1 * I
haven¹t made any changes to the notifications, in fact, I copied and pasted
it out of the samples to make sure.

Thanks!!!


# 'notify-host-by-email' command definition
define command{
command_namenotify-host-by-email
command_line/usr/bin/printf "%b" "* Nagios 1
*\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState:
$HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time:
$LONGDATETIME$\n" | /usr/bin/mail -s "** $NOTIFICATIONTYPE$ Host Alert:
$HOSTNAME$ is $HOSTSTATE$ **" $CONTACTEMAIL$
}

# 'notify-service-by-email' command definition
define command{
command_namenotify-service-by-email
command_line/usr/bin/printf "%b" "* Nagios 1
*\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService:
$SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState:
$SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional
Info:\n\n$SERVICEOUTPUT$" | /usr/bin/mail -s "** $NOTIFICATIONTYPE$ Service
Alert: $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$
}




On 6/13/08 1:03 PM, "Chris Waters" <[EMAIL PROTECTED]> wrote:

> Looks like an improperly defined macro somewhere in your notification
> definition.  Can you display your notification command?
>  
> Chris Waters
> Technology Services - Network Group
> JELD-WEN, Inc.
> Information Systems
> [EMAIL PROTECTED]
>  
> 
> 
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of ROBERT SMALL
> Sent: Friday, June 13, 2008 10:44 AM
> To: Nagios Users Mailinglist
> Subject: [Nagios-users] Nagios v3 & email being sent to $
> 
> I have lots of messages in my nagios installation being sent to $.
> 
> I have searched my contacts and other configs and cannot find it.  We all get
> email and notifications but there are the occasional $ emails and I found Œem
> stuck in /var/spool/nagios/dead.letter (freebsd).
> 
> Does anyone have any ideas?
> 
> Robert 

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] Nagios v3 & email being sent to $

2008-06-14 Thread ROBERT SMALL
No, nothing strange, I sent my contacts to some of the other admins at the
office and they all said they were fine.  This is happing on both of my
nagios boxes...


On 6/13/08 3:49 PM, "Marc Powell" <[EMAIL PROTECTED]> wrote:

> 
> On Jun 13, 2008, at 1:24 PM, ROBERT SMALL wrote:
> 
>> Other than changing the ³* Nagios * to * Nagios 1 *
>> I haven¹t made any changes to the notifications, in fact, I copied
>> and pasted it out of the samples to make sure.
>> 
>> Thanks!!!
>> 
>> 
>> # 'notify-host-by-email' command definition
>> 
> 
>> # 'notify-service-by-email' command definition
> 
> $CONTACTEMAIL$ comes from the email parameter of the contact{}
> definitions. Anything unusual about any of those? Do they follow
> standard e-mail address conventions?
> 
> --
> Marc
> -
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> ___
> Nagios-users mailing list
> Nagios-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when reporting
> any issue. 
> ::: Messages without supporting info will risk being sent to /dev/null


-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] Nagios v3 & email being sent to $

2008-06-16 Thread ROBERT SMALL
As a new note, I nuked the /var/spool/nagios/dead.letter this morning, and
just looked at it again.  The vast majority of emails there (all of 'em
addressed to $) are for hosts/services that we have notifications disabled.

Robert

On 6/14/08 9:35 AM, "ROBERT SMALL" <[EMAIL PROTECTED]> wrote:

> No, nothing strange, I sent my contacts to some of the other admins at the
> office and they all said they were fine.  This is happing on both of my
> nagios boxes...
> 
> 
> On 6/13/08 3:49 PM, "Marc Powell" <[EMAIL PROTECTED]> wrote:
> 
>> 
>> On Jun 13, 2008, at 1:24 PM, ROBERT SMALL wrote:
>> 
>>> Other than changing the ³* Nagios * to * Nagios 1 *
>>> I haven¹t made any changes to the notifications, in fact, I copied
>>> and pasted it out of the samples to make sure.
>>> 
>>> Thanks!!!
>>> 
>>> 
>>> # 'notify-host-by-email' command definition
>>> 
>> 
>>> # 'notify-service-by-email' command definition
>> 
>> $CONTACTEMAIL$ comes from the email parameter of the contact{}
>> definitions. Anything unusual about any of those? Do they follow
>> standard e-mail address conventions?
>> 
>> --
>> Marc
>> -
>> Check out the new SourceForge.net Marketplace.
>> It's the best place to buy or sell services for
>> just about anything Open Source.
>> http://sourceforge.net/services/buy/index.php
>> ___
>> Nagios-users mailing list
>> Nagios-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/nagios-users
>> ::: Please include Nagios version, plugin version (-v) and OS when reporting
>> any issue. 
>> ::: Messages without supporting info will risk being sent to /dev/null
> 
> 
> -
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> ___
> Nagios-users mailing list
> Nagios-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when reporting
> any issue. 
> ::: Messages without supporting info will risk being sent to /dev/null


-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] Nagios v3 & email being sent to $

2008-06-23 Thread ROBERT SMALL
I was working on this again, and I enabled all notifications for the
hosts/services that we had disabled, and the emails to $ stopped.

As soon as I disabled the notifications again, the emails to $ started.  Any
idea?


On 6/16/08 10:14 AM, "ROBERT SMALL" <[EMAIL PROTECTED]> wrote:

> As a new note, I nuked the /var/spool/nagios/dead.letter this morning, and
> just looked at it again.  The vast majority of emails there (all of 'em
> addressed to $) are for hosts/services that we have notifications disabled.
> 
> Robert
> 
> On 6/14/08 9:35 AM, "ROBERT SMALL" <[EMAIL PROTECTED]> wrote:
> 
>> No, nothing strange, I sent my contacts to some of the other admins at the
>> office and they all said they were fine.  This is happing on both of my
>> nagios boxes...
>> 
>> 
>> On 6/13/08 3:49 PM, "Marc Powell" <[EMAIL PROTECTED]> wrote:
>> 
>>> 
>>> On Jun 13, 2008, at 1:24 PM, ROBERT SMALL wrote:
>>> 
>>>> Other than changing the ³* Nagios * to * Nagios 1 *
>>>> I haven¹t made any changes to the notifications, in fact, I copied
>>>> and pasted it out of the samples to make sure.
>>>> 
>>>> Thanks!!!
>>>> 
>>>> 
>>>> # 'notify-host-by-email' command definition
>>>> 
>>> 
>>>> # 'notify-service-by-email' command definition
>>> 
>>> $CONTACTEMAIL$ comes from the email parameter of the contact{}
>>> definitions. Anything unusual about any of those? Do they follow
>>> standard e-mail address conventions?
>>> 
>>> --
>>> Marc
>>> -
>>> Check out the new SourceForge.net Marketplace.
>>> It's the best place to buy or sell services for
>>> just about anything Open Source.
>>> http://sourceforge.net/services/buy/index.php
>>> ___
>>> Nagios-users mailing list
>>> Nagios-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/nagios-users
>>> ::: Please include Nagios version, plugin version (-v) and OS when reporting
>>> any issue. 
>>> ::: Messages without supporting info will risk being sent to /dev/null
>> 
>> 
>> -
>> Check out the new SourceForge.net Marketplace.
>> It's the best place to buy or sell services for
>> just about anything Open Source.
>> http://sourceforge.net/services/buy/index.php
>> ___
>> Nagios-users mailing list
>> Nagios-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/nagios-users
>> ::: Please include Nagios version, plugin version (-v) and OS when reporting
>> any issue. 
>> ::: Messages without supporting info will risk being sent to /dev/null
> 


-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


[Nagios-users] Nagios v3 & WAP

2008-07-14 Thread Robert Small
I recently upgraded from Nagios2 to version3, and it¹s running beautifully.
All except for the WAP interface.  I¹ve searched the web, and the archives
and haven¹t found anything that might help.

When my users go to the wap interface (which worked GREAT under v2) and try
to acknowledge a problem (either a host or a service), they get:

Error: You're not authorized to commit that command!

I¹ve made sure that they all have access to:

Authorization Requirements:
If you are authorized for system information you can view Nagios process
information. 
If you are authorized for all hosts you can view status data for all hosts
and services. 
If you are authorized for all services you can view status data for all
services. 

And they are authenticating.

If you are an authenticated contact you can view status data for all hosts
and services for which
you are a contact. 

Any ideas and help would be appreicated.

Thanks!

Robert
-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

[Nagios-users] Service Escalations

2008-09-04 Thread Robert Small
Ok, I¹ve manage to thoroughly confuse my self with service escalations.

Here is an example of my configs:

   --service_definitation:

define service{
use   generic-service
host_name box1,box2
service_description  disk_space
check_command   check_nrpe!check_disks
contact_groups
oncall,developers,backup,tech-team,management
notifications_enabled   1
}

My escalations config:

define serviceescalation{
host_name   box1,box2
service_descriptiondisk_space
first_notification 1
last_notification  10
notification_interval   4
contact_groupsoncall
}

define serviceescalation{
host_namebox1,box2
service_description disk_space
first_notification 11
last_notification  20
notification_interval   4
contact_groups  oncall,backup
}

define serviceescalation{
host_name  box1,box2
service_description   disk_space
first_notification21
last_notification 30
notification_interval  4
contact_groups  oncall,backup,tech-team
}

define serviceescalation{
host_name  box1,box2
service_description   disk_space
first_notification 31
last_notification
notification_interval   4
contact_groups   oncall,backup,tech-team,management
}

My first question:
There have been two times in the past 24 hours when a service went down, and
within a minute was acknowledged, and everybody got the acknowledgement, not
just the oncall person.

And secondly,  if I added and Œeveryone¹ to my service Œcontact_groups¹, and
utilized the time_period option in the escalations config for after hours,
would everyone get the notification during the day?

Thanks!

Robert
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null