NagiosXI Metrics

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
User avatar
pbroste
Posts: 1288
Joined: Tue Jun 01, 2021 1:27 pm

Re: NagiosXI Metrics

Post 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
bramassendorp
Posts: 28
Joined: Sun Jun 09, 2019 3:16 am

Re: NagiosXI Metrics

Post 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.
User avatar
pbroste
Posts: 1288
Joined: Tue Jun 01, 2021 1:27 pm

Re: NagiosXI Metrics

Post 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
bramassendorp
Posts: 28
Joined: Sun Jun 09, 2019 3:16 am

Re: NagiosXI Metrics

Post 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.
User avatar
pbroste
Posts: 1288
Joined: Tue Jun 01, 2021 1:27 pm

Re: NagiosXI Metrics

Post 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
Locked