Hi,
I am trying to add new service monitoring via SNMP in "Service Status" component (Home Menu -> Details -> Service status).
Steps that tried :
1. Added the service script in path : /nagios/libexec/.
1. Created the service command in CCM(_commands).
2. Created Host as per required(with ip address).
3. Created new service for new host as per the example available in server.
But still the service is not visible on the "Home -> Details -> Service status " tab.
Attached the img for reference, the place where i want to add new service with new host.
Can any one just guide me how to solve above issue.
Regards,
Nayana
How to add new service to "Service Status" in Nagios xi?
-
- Posts: 19
- Joined: Wed Mar 18, 2020 4:29 am
How to add new service to "Service Status" in Nagios xi?
You do not have the required permissions to view the files attached to this post.
-
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: How to add new service to "Service Status" in Nagios xi?
HI,
Thanks for testing out Nagios xi. Happy to help answer any questions for you as you learn the product.
After adding the host and service(s) in the CCM, did you Apply Configuration, and were there any errors? If there was an error it would revert back to the initial configuration.
Run through the following steps in Configure > CCM > Tools > Config File Management
1. Delete Files
2. Write Files
3. Verify Files ( if you see any errors follow the message to correct and repeat steps 1-3 until it passes)
4. Restart Nagios Core
If you have any issues, please post a screenshot so we can review the errors. Thanks, Benjamin
Also, here's a couple of links to the CCM documentation.
Using The Core Config Manager For Host Management
Using The Core Config Manager For Service Management
Thanks for testing out Nagios xi. Happy to help answer any questions for you as you learn the product.
After adding the host and service(s) in the CCM, did you Apply Configuration, and were there any errors? If there was an error it would revert back to the initial configuration.
Run through the following steps in Configure > CCM > Tools > Config File Management
1. Delete Files
2. Write Files
3. Verify Files ( if you see any errors follow the message to correct and repeat steps 1-3 until it passes)
4. Restart Nagios Core
If you have any issues, please post a screenshot so we can review the errors. Thanks, Benjamin
Also, here's a couple of links to the CCM documentation.
Using The Core Config Manager For Host Management
Using The Core Config Manager For Service Management
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
- Posts: 19
- Joined: Wed Mar 18, 2020 4:29 am
Re: How to add new service to "Service Status" in Nagios xi?
Hi,
Thank you for the support.
[quote="After adding the host and service(s) in the CCM, did you Apply Configuration, and were there any errors? If there was an error it would revert back to the initial configuration.[/quote]
Yes, i applied configuration after adding new Command, hosts and services.
Attached screen shot for reference.
But still i didn't see any changes in "Service status" component screen.
Example for my requirement:
Original : IMG1 attached shows the original "Service status" screen that when Nagiosxi installed.
Required : IMG2 shows the requirement that i want to add in "Service status screen".
Attached IMG's for reference.
Regards,
Nayana
Thank you for the support.
[quote="After adding the host and service(s) in the CCM, did you Apply Configuration, and were there any errors? If there was an error it would revert back to the initial configuration.[/quote]
Yes, i applied configuration after adding new Command, hosts and services.
I have fallowed the steps that suggested and restarted the core and i have not observed any Errors in the Validation.benjaminsmith wrote:If you have any issues, please post a screenshot so we can review the errors
Attached screen shot for reference.
But still i didn't see any changes in "Service status" component screen.
Example for my requirement:
Original : IMG1 attached shows the original "Service status" screen that when Nagiosxi installed.
Required : IMG2 shows the requirement that i want to add in "Service status screen".
Attached IMG's for reference.
Regards,
Nayana
You do not have the required permissions to view the files attached to this post.
-
- Posts: 19
- Joined: Wed Mar 18, 2020 4:29 am
Re: How to add new service to "Service Status" in Nagios xi?
Hi,
One more doubt i have regarding the components in "Home -> Details" section, actually i have added the one new component in "Details" section and upon click server is taking almost 15sec to open the page.
Can you give me some details for above?
Regards,
Nayana
One more doubt i have regarding the components in "Home -> Details" section, actually i have added the one new component in "Details" section and upon click server is taking almost 15sec to open the page.
Can you give me some details for above?
Regards,
Nayana
-
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: How to add new service to "Service Status" in Nagios xi?
Hi Nayana,
Since you're having some performance issues, let's get a system profile from you server and take a look at the logs.
A couple of other questions:
1. Are you logged in as admin or user. For a user account, please post a screenshot of the user permission or make sure you have selected the Can see all hosts and services: option for this user. 2. What is the exact name of the new service?
3. To send us your system profile:
Login to the Nagios xi GUI using a web browser.
Click the "Admin" > "System Profile" Menu
Click the "Download Profile" button
Save the profile.zip file and share in a private message or upload it to the post/ticket, and then reply to this post to bring it up in the queue.
Thanks!
Benjamin
Since you're having some performance issues, let's get a system profile from you server and take a look at the logs.
A couple of other questions:
1. Are you logged in as admin or user. For a user account, please post a screenshot of the user permission or make sure you have selected the Can see all hosts and services: option for this user. 2. What is the exact name of the new service?
3. To send us your system profile:
Login to the Nagios xi GUI using a web browser.
Click the "Admin" > "System Profile" Menu
Click the "Download Profile" button
Save the profile.zip file and share in a private message or upload it to the post/ticket, and then reply to this post to bring it up in the queue.
Thanks!
Benjamin
You do not have the required permissions to view the files attached to this post.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
- Posts: 19
- Joined: Wed Mar 18, 2020 4:29 am
Re: How to add new service to "Service Status" in Nagios xi?
Hi Benjamin,
Find the details below for your question :
1.
2.
3.
Regards,
Nayana
Moderator's Note: The profile has been shared with the support team but has been removed from the public forum
Find the details below for your question :
1.
Yes, i have logged in as Admin and attached screen shot for reference(user.odt)benjaminsmith wrote:Are you logged in as admin or user
2.
Service name : Device Receiver attenuation using SNMP(Written own script compatible with my device).benjaminsmith wrote:2. What is the exact name of the new service?
3.
Attached zip file for reference.benjaminsmith wrote:3. To send us your system profile:
Regards,
Nayana
Moderator's Note: The profile has been shared with the support team but has been removed from the public forum
-
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: How to add new service to "Service Status" in Nagios xi?
Hi Nayana,
There's an issue with the configuration files. The objects.cache file contains all of the configurations stored in the monitoring engine's(Nagios Core) memory, and right now it only shows the default localhost and its services.
I'm unable to find Device Receiver attenuation using SNM in the configuration files, so it's likely in the database but was not written out to the files due to an error. However, I do see the following hosts in your file:
-- CyientHW1
-- CyientHW2
If you are not able to resolve this by going through the following steps:
Configure > CCM > Tools > Config File Management
1. Delete Files
2. Write Files
3. Verify Files ( if you see any errors follow the message to correct and repeat steps 1-3 until it passes)
4. Restart Nagios Cor
Please run the following command and PM the nagios configuration database to me.
Regards,
Benjamin
There's an issue with the configuration files. The objects.cache file contains all of the configurations stored in the monitoring engine's(Nagios Core) memory, and right now it only shows the default localhost and its services.
I'm unable to find Device Receiver attenuation using SNM in the configuration files, so it's likely in the database but was not written out to the files due to an error. However, I do see the following hosts in your file:
-- CyientHW1
-- CyientHW2
If you are not able to resolve this by going through the following steps:
Configure > CCM > Tools > Config File Management
1. Delete Files
2. Write Files
3. Verify Files ( if you see any errors follow the message to correct and repeat steps 1-3 until it passes)
4. Restart Nagios Cor
Please run the following command and PM the nagios configuration database to me.
Code: Select all
mysqldump -uroot -pnagiosxi nagiosql > nagiosql.sql
Benjamin
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
- Posts: 19
- Joined: Wed Mar 18, 2020 4:29 am
Re: How to add new service to "Service Status" in Nagios xi?
Hi Benjamin
1.
2.
3.
Regards,
Nayana
1.
I have attached screen shot for reference to show new services with new host details.benjaminsmith wrote:I'm unable to find Device Receiver attenuation using SNM in the configuration files, so it's likely in the database but was not written out to the files due to an error. However, I do see the following hosts in your file:
2.
No, I didn't observe any changes after fallowing above steps.benjaminsmith wrote:If you are not able to resolve this by going through the following steps:
Configure > CCM > Tools > Config File Management
1. Delete Files
2. Write Files
3. Verify Files ( if you see any errors follow the message to correct and repeat steps 1-3 until it passes)
4. Restart Nagios Cor
3.
Attached the "nagiosql.sql" file after running above command.benjaminsmith wrote:Please run the following command and PM the nagios configuration database to me.
CODE: SELECT ALL
mysqldump -uroot -pnagiosxi nagiosql > nagiosql.sql
Regards,
Nayana
You do not have the required permissions to view the files attached to this post.
-
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: How to add new service to "Service Status" in Nagios xi?
Hi,
Thanks for the file. So all the services for the host, CyientHW1, do not have the host assignment. So you'll just need to go through the list of services. And then assign the host in the CCM. Lastly, those same services are missing the max check attempts as well. You can use the Bulk Mods tool to quickly add this value to all of those services. In the CCM, go to Tools > Bulk Mods and select the Change a single configuration option.
Let us know if you're able to get it resolved.
Regards,
Benjamin
Thanks for the file. So all the services for the host, CyientHW1, do not have the host assignment. So you'll just need to go through the list of services. And then assign the host in the CCM. Lastly, those same services are missing the max check attempts as well. You can use the Bulk Mods tool to quickly add this value to all of those services. In the CCM, go to Tools > Bulk Mods and select the Change a single configuration option.
Let us know if you're able to get it resolved.
Regards,
Benjamin
You do not have the required permissions to view the files attached to this post.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
- Posts: 1
- Joined: Mon Oct 12, 2020 6:02 am
Re: How to add new service to "Service Status" in Nagios xi?
Hi Benjamin,
I am Nayana, i am using different login due to trail version has expired for my login.
1.
2.
Attached the same for reference(nagiosql.sql).
Note:'
For checking purpose i have configured only "Attenuation" service with full details and other services are just reference.
That's why config details are missed.
The services are added in CCM->Monitoring->Service are working as before and giving response with device connected by running "Run check command".
But same services are not reflecting on Home->Details->Service Status.
Regards,
Nayana
I am Nayana, i am using different login due to trail version has expired for my login.
1.
I have assigned host name and templates as suggested.benjaminsmith wrote:assign the host in the CCM.
2.
I have added checks also.benjaminsmith wrote:Lastly, those same services are missing the max check attempts as well.
Attached the same for reference(nagiosql.sql).
Note:'
For checking purpose i have configured only "Attenuation" service with full details and other services are just reference.
That's why config details are missed.
The services are added in CCM->Monitoring->Service are working as before and giving response with device connected by running "Run check command".
But same services are not reflecting on Home->Details->Service Status.
Regards,
Nayana
You do not have the required permissions to view the files attached to this post.