Page 1 of 1

Object Does Not Exist

Posted: Wed Dec 15, 2021 11:16 pm
by sacom01
hi,
all my services in nagios xi getting to "Object Does Not Exist" when i click to the service for detail although it is running fine, and i am able to run plugin from the command.

[root@dc-nagiosxi libexec]# ./unix_check_HVT.py -H 192.168.xxx.xxx -P 5693 -t 'mytoken' -w 400 -c 500
CRITICAL - BNK:1259; SEH:939; HCM:1788; WES:840; WARNING - HAN:405; OK - NTH:272; CTL:397; | BNK=1259;400;500 SEH=939;400;500 HCM=1788;400;500 WES=840;400;500 HAN=405;400;500 NTH=272;400;500 CTL=397;400;500

no log found in /var/log/messages.
pls help this case.
thank you.

Re: Object Does Not Exist

Posted: Thu Dec 16, 2021 2:06 pm
by pbroste
Hello @sacom01

Thanks for reaching out, want to rule out database issues.
  • Code: Select all

    /usr/local/nagiosxi/scripts/repair_databases.sh
Let's also verify that there are no configs hanging up.

[*]Reindex the Core Configuration Manager (CCM) configs[/*]
  • rm -rf /usr/local/nagios/etc/import/*
  • 1: Terminal command list all running /bin/nagios -> ps -aux | grep -E '/bin/nagios'
  • 2: Terminal command -> killall -9 nagios (or pkill nagios)
  • 3: Terminal command check to see if /bin/nagios processes are stopped
  • 4: Nagios XI web console
    ==> Core Configuration Manager (CCM)
    ==> Config File Management
    ==> [Delete Files]
    ==> [Write Files]
    ==> [Verify Files]
  • 6: Core Configuration Manager (CCM)
    ==> Under Quick Tools
    ==> "Apply Configuration"
  • 7: Restart nagios.service by terminal command: systemctl restart nagios
  • [list]
  • Code: Select all

    systemctl restart nagios
[/list]

Verify that the host and services look good in pre-flight with no errors in core by:
  • Code: Select all

    /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg

Please PM your updated system profile if the issue persists.

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 send via Private Message
Thanks,
Perry