No rrd files are generated in new services (rbuckle)

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
rbuckle
Posts: 146
Joined: Tue Aug 04, 2015 12:25 pm
Location: Idaho
Contact:

No rrd files are generated in new services (rbuckle)

Post by rbuckle »

Moderator Edit: This thread has been split from another - https://support.nagios.com/forum/viewto ... 16&t=38363
In the future, please create a new thread and link to the old one instead of adding on.

time LANG=C LC_ALL=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg

Code: Select all

[root@NagiosXI ~]# time LANG=C LC_ALL=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg
SNMP Error:
no response received
SNMPv2c_Session (remote host: "10.11.51.254" [10.11.51.254].161)
                   community: "ImaxRW"
                  request ID: 1728543212
                 PDU bufsize: 8000 bytes
                     timeout: 2s
                     retries: 5
                     backoff: 1)
 at /usr/bin/../lib/mrtg2/SNMP_util.pm line 497
SNMPGET Problem for ifInOctets.1 ifOutOctets.1 on [email protected]:161::::2:v                      4only
 at /usr/bin/mrtg line 2330
2016-05-12 12:26:26: WARNING: skipping because at least the query for ifInOctets                      .1 on  10.11.51.254 did not succeed
2016-05-12 12:26:26: WARNING: no data for ifInOctets&ifOutOctets:[email protected]                      .254. Skipping further queries for Host 10.11.51.254 in this round.
2016-05-12 12:26:38: ERROR: Target[10.11.51.254_1][_IN_] ' $target->[299]{$mode}                       ' did not eval into defined data
2016-05-12 12:26:38: ERROR: Target[10.11.51.254_1][_OUT_] ' $target->[299]{$mode                      } ' did not eval into defined data
2016-05-12 12:26:38: ERROR: Target[10.11.51.254_2][_IN_] ' $target->[300]{$mode}                       ' did not eval into defined data
2016-05-12 12:26:38: ERROR: Target[10.11.51.254_2][_OUT_] ' $target->[300]{$mode                      } ' did not eval into defined data
2016-05-12 12:26:38: ERROR: Target[10.0.3.147_11][_IN_] ' $target->[326]{$mode}                       ' did not eval into defined data
2016-05-12 12:26:38: ERROR: Target[10.0.3.147_11][_OUT_] ' $target->[326]{$mode}                       ' did not eval into defined data
2016-05-12 12:26:38: ERROR: Target[10.0.3.146_11][_IN_] ' $target->[332]{$mode}                       ' did not eval into defined data
2016-05-12 12:26:38: ERROR: Target[10.0.3.146_11][_OUT_] ' $target->[332]{$mode}                       ' did not eval into defined data

real    0m12.085s
user    0m0.968s
sys     0m0.132s
[root@NagiosXI ~]#
LANG=C LC_ALL=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg

Code: Select all

[root@NagiosXI ~]# LANG=C LC_ALL=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg
SNMP Error:
no response received
SNMPv2c_Session (remote host: "10.11.51.254" [10.11.51.254].161)
                   community: "ImaxRW"
                  request ID: 1828214233
                 PDU bufsize: 8000 bytes
                     timeout: 2s
                     retries: 5
                     backoff: 1)
 at /usr/bin/../lib/mrtg2/SNMP_util.pm line 497
SNMPGET Problem for ifInOctets.1 ifOutOctets.1 on [email protected]:161::::2:v4only
 at /usr/bin/mrtg line 2330
2016-05-12 12:27:50: WARNING: skipping because at least the query for ifInOctets.1 on  10.11.51.254 did not succeed
2016-05-12 12:27:50: WARNING: no data for ifInOctets&ifOutOctets:[email protected]. Skipping further queries for Host 10.11.51.254 in this round.
2016-05-12 12:28:01: ERROR: Target[10.11.51.254_1][_IN_] ' $target->[299]{$mode} ' did not eval into defined data
2016-05-12 12:28:01: ERROR: Target[10.11.51.254_1][_OUT_] ' $target->[299]{$mode} ' did not eval into defined data
2016-05-12 12:28:01: ERROR: Target[10.11.51.254_2][_IN_] ' $target->[300]{$mode} ' did not eval into defined data
2016-05-12 12:28:01: ERROR: Target[10.11.51.254_2][_OUT_] ' $target->[300]{$mode} ' did not eval into defined data
2016-05-12 12:28:01: ERROR: Target[10.0.3.147_11][_IN_] ' $target->[326]{$mode} ' did not eval into defined data
2016-05-12 12:28:01: ERROR: Target[10.0.3.147_11][_OUT_] ' $target->[326]{$mode} ' did not eval into defined data
2016-05-12 12:28:01: ERROR: Target[10.0.3.146_11][_IN_] ' $target->[332]{$mode} ' did not eval into defined data
2016-05-12 12:28:01: ERROR: Target[10.0.3.146_11][_OUT_] ' $target->[332]{$mode} ' did not eval into defined data
locale

Code: Select all

[root@NagiosXI ~]# locale
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=
cat /etc/sysconfig/i18n

Code: Select all

LANG="en_US.UTF-8"
SYSFONT="latarcyrheb-sun16"
----------------------------------
Running:
Installed Version: 5.8.3
OS: CentOS 7
Nagios XI
Enterprise License
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: No rrd files are generated in new services (rbuckle)

Post by ssax »

Please give more specifics, thanks.

Is this just occurring for a single new one or multiples?

What are the outputs of these commands?

Code: Select all

nmap -p161 10.11.51.254
snmpwalk -v 2c -c ImaxRW 10.11.51.254:161
rbuckle
Posts: 146
Joined: Tue Aug 04, 2015 12:25 pm
Location: Idaho
Contact:

Re: No rrd files are generated in new services (rbuckle)

Post by rbuckle »

Ok funny thing is that that is not the host that i am having issues with.

Saxx, only this 1 host is not generating the rrd files...
/var/lib/mrtg/10.0.0.50_2.rrd does not exist.
/var/lib/mrtg/10.0.0.50_3.rrd does not exist.
So how can i make mrtg generate the missing CFG so that it can start generating the rrd's?
----------------------------------
Running:
Installed Version: 5.8.3
OS: CentOS 7
Nagios XI
Enterprise License
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: No rrd files are generated in new services (rbuckle)

Post by ssax »

Dang, I was trying to get it right.

Are there other /var/lib/mrtg/10.0.0.50_NUMBER.rrd files for that same host?

Take a look in /usr/local/nagiosxi/tmp/ and see if you have an mrtgscan-10.0.0.50 file and PM it to me so that I can review it.


Thank you
rbuckle
Posts: 146
Joined: Tue Aug 04, 2015 12:25 pm
Location: Idaho
Contact:

Re: No rrd files are generated in new services (rbuckle)

Post by rbuckle »

ssax wrote:Dang, I was trying to get it right.

Are there other /var/lib/mrtg/10.0.0.50_NUMBER.rrd files for that same host?

Take a look in /usr/local/nagiosxi/tmp/ and see if you have an mrtgscan-10.0.0.50 file and PM it to me so that I can review it.
Nothing in the /var/lib/mrtg for that host.

MODERATORS NOTE: Received mrtgscan.zip and placed in our shared support directory, removing from the post because it may contain sensitive data.
Last edited by ssax on Mon May 16, 2016 12:38 pm, edited 1 time in total.
----------------------------------
Running:
Installed Version: 5.8.3
OS: CentOS 7
Nagios XI
Enterprise License
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: No rrd files are generated in new services (rbuckle)

Post by ssax »

Let's move this into a ticket so that we can get a remote session setup, please email [email protected] with a descriptive subject and a detailed body with a link back to this thread for reference.


Thank you
Locked