Required Custom Feature
Re: Required Custom Feature
Have you assigned the contact you created as a contact to all of those hosts / services? Can you post a definition for us to look at?
Former Nagios Employee
Re: Required Custom Feature
I have just add the guest in following parameters:
Code: Select all
authorized_for_all_hosts=nagiosadmin,guest
authorized_for_read_only=guest
Re: Required Custom Feature
You will need to also assign them as a contact to the host / service in question as well.
Former Nagios Employee
Re: Required Custom Feature
How can i do that ?
Re: Required Custom Feature
You will need to add their contact name in the contacts field for that host:
https://assets.nagios.com/downloads/nag ... .html#host
https://assets.nagios.com/downloads/nag ... .html#host
Former Nagios employee
Re: Required Custom Feature
Would you please tell me how can i gave access mentioned in below "hostextinfo" to certain guest. I'm talking about the guest user of webui not about the users that are defined in contacts.
Code: Select all
define hostextinfo{
host_name host_name
notes note_string
notes_url url
action_url url
icon_image image_file
icon_image_alt alt_string
vrml_image image_file
statusmap_image image_file
2d_coords x_coord,y_coord
3d_coords x_coord,y_coord,z_coord
}Re: Required Custom Feature
Take a look at this document and let us know if helps: https://assets.nagios.com/downloads/nag ... iauth.html
Former Nagios Employee.
me.
me.
Re: Required Custom Feature
An example of how this works in my situation. I have a long list of hosts of different device types. Of those hosts, there are some UPS units that I want certain people on my team to be able to view and not the rest of the hosts I have. I created a "ups" group and login for them to use to see them. They can acknowledge, disable, enable checks/notifications because this was the intent.
Hope this helps you figure out your needs.

Hope this helps you figure out your needs.
define contact{
contact_name emcradio
use generic-contact
alias EMC Radio
}
define contactgroup{
contactgroup_name ups
alias EMC UPS
members jrodriguez,emcradio,jjones
}
define host{
use linux-server
host_name ups-SHERATON
alias ups-sheraton
address xxx.xxx.xxx.xxx
contact_groups ups
hostgroups all, tower, ups
notification_period 24x7
}
define service{
use local-service
host_name ups-SHERATON
service_description PING
servicegroups ping
check_command check_ping!100.0,20%!500.0,60%
}
define service{
use ups-service
host_name ups-SHERATON
service_description UPS Health
servicegroups ups-health
check_command check_ups_pow3!public
}

Nagios Core 4.1.1 running on Ubuntu 14.04
Re: Required Custom Feature
@rlinux57 that's pretty much how it is done - you will need to have a contact on that host in order to share it with someone.
Former Nagios employee