Page 3 of 3

Re: NagiosXI Metrics

Posted: Wed Mar 09, 2022 5:10 pm
by pbroste
Hello @bramassendorp

Thanks for sending along the details; since we already have your profile, want to have you [PM] Private Message me the hosts that are showing up and the name of a couple that is not showing up so I can take a look and compare.

Thanks,
Perry

Re: NagiosXI Metrics

Posted: Thu Mar 10, 2022 2:58 am
by bramassendorp
pbroste wrote:Hello @bramassendorp

Thanks for sending along the details; since we already have your profile, want to have you [PM] Private Message me the hosts that are showing up and the name of a couple that is not showing up so I can take a look and compare.

Thanks,
Perry
PM sent.

Re: NagiosXI Metrics

Posted: Thu Mar 10, 2022 11:04 am
by pbroste
Hello @bramassendorp

Thanks for sending over the details in the message. We see from the System Profile we are able to see from the Events that the hosts providing CPU data are reporting results. But don't see anything logged from the hosts that are not, some duplicates are showing up. Missing config data so want to compare.
  • Code: Select all

    grep -Eir "hostthatisworking" /usr/local/nagios/etc/* -A 20 -B 20 | grep -Ei 'cpu' -A 20 -B 20
    • versus
  • Code: Select all

    grep -Eir "hostthatisnot" /usr/local/nagios/etc/* -A 20 -B 20 | grep -Ei 'cpu' -A 20 -B 20
Compare the two results to see if configured and description are the same.

Then run the pre-flight to see if anything reporting as duplicate, warn, or error:
  • Code: Select all

    /usr/local/nagios/bin/nagios -vvv /usr/local/nagios/etc/nagios.cfg
And then run through reconfigure to reindexing:
  • Code: Select all

    rm -rf /usr/local/nagios/etc/import/*
  • Code: Select all

    /usr/local/nagiosxi/scripts/reconfigure_nagios.sh
Let us know how things are looking,
Perry

Re: NagiosXI Metrics

Posted: Fri Mar 11, 2022 2:07 am
by bramassendorp
pbroste wrote:Hello @bramassendorp

Thanks for sending over the details in the message. We see from the System Profile we are able to see from the Events that the hosts providing CPU data are reporting results. But don't see anything logged from the hosts that are not, some duplicates are showing up. Missing config data so want to compare.
  • Code: Select all

    grep -Eir "hostthatisworking" /usr/local/nagios/etc/* -A 20 -B 20 | grep -Ei 'cpu' -A 20 -B 20
    • versus
  • Code: Select all

    grep -Eir "hostthatisnot" /usr/local/nagios/etc/* -A 20 -B 20 | grep -Ei 'cpu' -A 20 -B 20
Compare the two results to see if configured and description are the same.

Then run the pre-flight to see if anything reporting as duplicate, warn, or error:
  • Code: Select all

    /usr/local/nagios/bin/nagios -vvv /usr/local/nagios/etc/nagios.cfg
And then run through reconfigure to reindexing:
  • Code: Select all

    rm -rf /usr/local/nagios/etc/import/*
  • Code: Select all

    /usr/local/nagiosxi/scripts/reconfigure_nagios.sh
Let us know how things are looking,
Perry
Hi,
  • Code: Select all

    grep -Eir "hostthatisworking" /usr/local/nagios/etc/* -A 20 -B 20 | grep -Ei 'cpu' -A 20 -B 20
    • versus
  • Code: Select all

    grep -Eir "hostthatisnot" /usr/local/nagios/etc/* -A 20 -B 20 | grep -Ei 'cpu' -A 20 -B 20
Both commands do not give any output, yes I have replaced the "hostthatisworking" and "hostthatisnot" with hostnames.

For:
  • Code: Select all

    /usr/local/nagios/bin/nagios -vvv /usr/local/nagios/etc/nagios.cfg
Nothing relevant.

And for:
  • Code: Select all

    rm -rf /usr/local/nagios/etc/import/*
  • Code: Select all

    /usr/local/nagiosxi/scripts/reconfigure_nagios.sh
The Scripts had some "Warning: Duplicate definition found for service ..." but those are correct, we use nested service tests.

Re: NagiosXI Metrics

Posted: Wed Mar 16, 2022 3:56 pm
by pbroste
Hello @bramassendorp

Hmmm, did not expect that we would not see results on that. Since I have your System Profile; please PM me the 'hostnames' of interest so I can take a look.
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.
Thanks
Perry