Creating multiple servicename/hostname associations

This support forum board is for support questions relating to Nagios Network Analyzer, our network traffic and bandwidth analysis solution.
Locked
goldmund84
Posts: 42
Joined: Mon Jan 06, 2014 6:48 am

Creating multiple servicename/hostname associations

Post by goldmund84 »

Hello!
I've configured Nagios XI and NNA integration. Several alerts were successfully added (one alert per host) and appeared in Nagios XI "Unconfigured objects". Everything seemed to be fine.

Now I'm trying to create several Alerts for the host, which is already has one Alert configured ("Alerting --> Nagios Setup" Tab). As an example:
- there is an association Servicename/Hostname: ssh_packets/host1.example.com
- I'm trying to add dns_packets/host1.example.com

But I'm getting the error: host1.example.com is not a unique hostname.
Why it should be unique? Is it possible to create several alerts for one host?

Thanks!
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Creating multiple servicename/hostname associations

Post by scottwilkerson »

goldmund84 wrote:Hello!
I've configured Nagios XI and NNA integration. Several alerts were successfully added (one alert per host) and appeared in Nagios XI "Unconfigured objects". Everything seemed to be fine.

Now I'm trying to create several Alerts for the host, which is already has one Alert configured ("Alerting --> Nagios Setup" Tab). As an example:
- there is an association Servicename/Hostname: ssh_packets/host1.example.com
- I'm trying to add dns_packets/host1.example.com

But I'm getting the error: host1.example.com is not a unique hostname.
Why it should be unique? Is it possible to create several alerts for one host?

Thanks!
You would want to create a different service on the host for each unique item you want to alert on
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
goldmund84
Posts: 42
Joined: Mon Jan 06, 2014 6:48 am

Re: Creating multiple servicename/hostname associations

Post by goldmund84 »

There is one host, and I would like to create several alerts for it. But when trying to create association Servicename/Hostname, I receive the error "A host is not a unique hostname.".
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Creating multiple servicename/hostname associations

Post by scottwilkerson »

Actually, I believe you found a bug in the current verison.

I am going to file a report, but I did find a work around. If you change the hostname for example by adding an extra char, and save you can immediately edit and remove the extra char and it will save.

Sorry for the inconvenience, I'll be sure this get's fixed in the next release.
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
goldmund84
Posts: 42
Joined: Mon Jan 06, 2014 6:48 am

Re: Creating multiple servicename/hostname associations

Post by goldmund84 »

Thanks, the work around is working!
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Creating multiple servicename/hostname associations

Post by scottwilkerson »

goldmund84 wrote:Thanks, the work around is working!
Excellent glad it is working for you!
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
Locked