Page 1 of 1

service_description woes -- Help!

PostPosted: Tue Mar 08, 2022 11:57 am
by markmerchant
Blank/duplicate service_description issues with the following config. Can anyone see the issue? Thx.

define host {
name linux-snmp-host-template
use xiwizard_linuxsnmp_host
check_command check-fast-alive!!!!!!!!
parents localhost
max_check_attempts 3
check_interval 5
retry_interval 1
active_checks_enabled 1
passive_checks_enabled 1
check_period xi_timeperiod_24x7
contacts nagiosadmin
notification_interval 60
notification_period xi_timeperiod_24x7
notifications_enabled 0
icon_image snmppenguin.png
statusmap_image snmppenguin.png
_xiwizard linux_snmp
register 0
}

define service {
name linux-basic-service-template
max_check_attempts 3
check_interval 10
retry_interval 1
check_period xi_timeperiod_24x7
notification_interval 60
notification_period xi_timeperiod_24x7
notifications_enabled 1
active_checks_enabled 1
contacts nagiosadmin
_xiwizard linux_snmp
register 0
}

define service {
name linux-snmp-slash-size
service_description root_filesystem_usage
use linux-basic-service-template
check_command check_xi_service_snmp_linux_storage! --login=username --passwd=password --protocols=md5 -m "^/$" -w 91 -c 95 -f
register 0
}

define service {
name linux-snmp-app-size
service_description app_filesystem_usage
use linux-basic-service-template
check_command check_xi_service_snmp_linux_storage! --login=username --passwd=password --protocols=md5 -m "^/app$" -w 91 -c 95 -f
register 0
}

define host {
host_name samplehost
use linux-snmp-host-template
address 10.10.10.10
register 1
}

define service {
host_name samplehost
use linux-snmp-slash-size
register 1
}

define service {
host_name samplehost
use linux-snmp-app-size
register 1
}

Re: service_description woes -- Help!

PostPosted: Fri Mar 11, 2022 11:18 am
by pbroste
Hello @markmerchant

Thanks for reaching out, would like to take a look at your Nagios XI System Profile so we can get a good picture of what is going on.

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 by send me a Private Message

Thanks,
Perry

Re: service_description woes -- Help!

PostPosted: Fri Mar 18, 2022 12:50 pm
by markmerchant
PROFILE BUILD FAILED
Array
(
)
CODE: 1

Re: service_description woes -- Help!

PostPosted: Fri Mar 18, 2022 1:03 pm
by pbroste
Command to get the System Profile. Please let me know the results.

Code: Select all
rm -rf /usr/local/nagiosxi/var/components/profile.zip
/usr/local/nagiosxi/scripts/components/getprofile.sh SUPPORT


Then send the resulting /usr/local/nagiosxi/var/components/profile.zip​ file.

Thanks,
Perry

p.s.
We're moving to a new support system!

The Nagios Answer Hub is a place where you can get help with technical questions from our experts. There, you can quickly open tickets and join discussion boards.

Request Nagios Answer Hub access here: https://info.nagios.com/answer-hub-access-new-users

After completing the access form, you will be given access to a portal where new tickets can be created. We will keep the old customer forum sections and ticket system available for current cases to be resolved.

Re: service_description woes -- Help!

PostPosted: Tue Apr 05, 2022 3:52 pm
by pbroste
Hello @markmerchant

Looks like the System Profile did not make the trip to my 'Private Inbox' and want to go ahead and move this support ticket over to the new Answer Hub ticketing system.

We're moving to a new support system!

The Nagios Answer Hub is a place where you can get help with technical questions from our experts. There, you can quickly open tickets and join discussion boards.

Request Nagios Answer Hub access here: https://info.nagios.com/answer-hub-access-new-users

After completing the access form, you will be given access to a portal where new tickets can be created. We will keep the old customer forum sections and ticket system available for current cases to be resolved.


Please let us link back to this support forum post so we can review the case details.

Thanks
Perry