[mrtg] Monitoring Ram remote host

Andrea Ruggeri a.ruggeri at hotmail.it
Thu May 7 19:32:13 CEST 2015


Hi guys,

 

I have the following problem when I go to do the following:

 

-          I create the file ram.cfg:

 

LoadMIBs: /usr/share/snmp/mibs/HOST-RESOURCES-MIB.txt

Target [ram_nagios61]: .1.3.6.1.4.1.2021.4.6.0 & .1.3.6.1.4.1.2021.4.6.0:
public @ nagios61

PAGETOP [ram_nagios61]: <H1> Free Memory </ H1>

WorkDir: / var / www / mrtg / test

Options [ram_nagios61]: nopercent, growright, gauge, noinfo

Title [ram_nagios61]: Free Memory

MaxBytes [ram_nagios61]: 1000000

KMG [ram_nagios61]: k, M, G, T, P, X

YLegend [ram_nagios61]: bytes

ShortLegend [ram_nagios61]: bytes

Legendi [ram_nagios61]: Free Memory:

Legendo [ram_nagios61]:

Legend1 [ram_nagios61]: Free memory, not including swap, in bytes

 

-          Launch the command:

 

IndexMaker ram.cfg> /var/www/mrtg/test/ram.html

 

-          Launch three face the command:

 

LANG = C; mrtg /etc/mrtg.cfg

 

-          And the system gives me the following error:

 

root @ nagios51: /etc/mrtg.d# LANG = C; mrtg /etc/mrtg.cfg

SNMP Error:

no response received

SNMPv1_Session (remote host: "sens01" [10.101.4.1] .161)

                  community: "public"

                 request ID: 1902900760

                PDU bufsize: 8000 bytes

                    timeout: 2s

                    retries: 5

                    backoff: 1)

 /usr/share/perl5/SNMP_util.pm at line 492.

Snmpget Problem for ifInOctets.1 ifOutOctets.1 SysUpTime sysName on public @
sens01 :::::: v4only

 at / usr / bin / mrtg line 2339.

07/05/2015 19:25:58: WARNING: skipping Because at least the query for
ifInOctets.1 on sens01 did not succeed

07/05/2015 19:25:58: WARNING: no date for ifInOctets & ifOutOctets: public @
sens01. Skipping further Top queries for Host sens01 in this round.

SNMP Error:

no response received

SNMPv1_Session (remote host: "nagios61" [10.101.13.2] .161)

                  community: "public"

                 request ID: 330083949

                PDU bufsize: 8000 bytes

                    timeout: 2s

                    retries: 5

                    backoff: 1)

 /usr/share/perl5/SNMP_util.pm at line 492.

Snmpget Problem for .1.3.6.1.4.1.2021.4.6.0 .1.3.6.1.4.1.2021.4.6.0
SysUpTime sysName on public @ nagios61 :::::: v4only

 at / usr / bin / mrtg line 2339.

07/05/2015 19:25:58: WARNING: skipping Because at least the query for
.1.3.6.1.4.1.2021.4.6.0 on nagios61 did not succeed

07/05/2015 19:25:58: WARNING: no date for .1.3.6.1.4.1.2021.4.6 &
.1.3.6.1.4.1.2021.4.6: public @ nagios61. Skipping further Top queries for
Host nagios61 in this round.

07/05/2015 19:26:19: ERROR: Target [sens01_1] [_ IN_] '$ target -> [5] {} $
mode' did not eval into defined data

07/05/2015 19:26:19: ERROR: Target [sens01_1] [_ OUT_] '$ target -> [5] {} $
mode' did not eval into defined data

07/05/2015 19:26:19: ERROR: Target [ram_nagios61] [_ IN_] '$ target -> [6]
{} $ mode' did not eval into defined data

07/05/2015 19:26:19: ERROR: Target [ram_nagios61] [_ OUT_] '$ target -> [6]
{} $ mode' did not eval into defined data

root @ nagios51: /etc/mrtg.d# LANG = C; mrtg /etc/mrtg.cfg

SNMP Error:

no response received

SNMPv1_Session (remote host: "sens01" [10.101.4.1] .161)

                  community: "public"

                 request ID: 428020869

                PDU bufsize: 8000 bytes

                    timeout: 2s

                    retries: 5

                    backoff: 1)

 /usr/share/perl5/SNMP_util.pm at line 492.

Snmpget Problem for ifInOctets.1 ifOutOctets.1 SysUpTime sysName on public @
sens01 :::::: v4only

 at / usr / bin / mrtg line 2339.

07/05/2015 19:27:07: WARNING: skipping Because at least the query for
ifInOctets.1 on sens01 did not succeed

07/05/2015 19:27:07: WARNING: no date for ifInOctets & ifOutOctets: public @
sens01. Skipping further Top queries for Host sens01 in this round.

SNMP Error:

no response received

SNMPv1_Session (remote host: "nagios61" [10.101.13.2] .161)

                  community: "public"

                 request ID: 1175690500

                PDU bufsize: 8000 bytes

                    timeout: 2s

                    retries: 5

                    backoff: 1)

 /usr/share/perl5/SNMP_util.pm at line 492.

Snmpget Problem for .1.3.6.1.4.1.2021.4.6.0 .1.3.6.1.4.1.2021.4.6.0
SysUpTime sysName on public @ nagios61 :::::: v4only

 at / usr / bin / mrtg line 2339.

07/05/2015 19:27:07: WARNING: skipping Because at least the query for
.1.3.6.1.4.1.2021.4.6.0 on nagios61 did not succeed

07/05/2015 19:27:07: WARNING: no date for .1.3.6.1.4.1.2021.4.6 &
.1.3.6.1.4.1.2021.4.6: public @ nagios61. Skipping further Top queries for
Host nagios61 in this round.

07/05/2015 19:27:27: ERROR: Target [sens01_1] [_ IN_] '$ target -> [5] {} $
mode' did not eval into defined data

07/05/2015 19:27:27: ERROR: Target [sens01_1] [_ OUT_] '$ target -> [5] {} $
mode' did not eval into defined data

07/05/2015 19:27:27: ERROR: Target [ram_nagios61] [_ IN_] '$ target -> [6]
{} $ mode' did not eval into defined data

07/05/2015 19:27:27: ERROR: Target [ram_nagios61] [_ OUT_] '$ target -> [6]
{} $ mode' did not eval into defined data

root @ nagios51: /etc/mrtg.d# LANG = C; mrtg /etc/mrtg.cfg

SNMP Error:

no response received

SNMPv1_Session (remote host: "sens01" [10.101.4.1] .161)

                  community: "public"

                 request ID: 1339727586

                PDU bufsize: 8000 bytes

                    timeout: 2s

                    retries: 5

                    backoff: 1)

 /usr/share/perl5/SNMP_util.pm at line 492.

Snmpget Problem for ifInOctets.1 ifOutOctets.1 SysUpTime sysName on public @
sens01 :::::: v4only

 at / usr / bin / mrtg line 2339.

07/05/2015 19:27:32: WARNING: skipping Because at least the query for
ifInOctets.1 on sens01 did not succeed

07/05/2015 19:27:32: WARNING: no date for ifInOctets & ifOutOctets: public @
sens01. Skipping further Top queries for Host sens01 in this round.

SNMP Error:

no response received

SNMPv1_Session (remote host: "nagios61" [10.101.13.2] .161)

                  community: "public"

                 request ID: 1167548425

                PDU bufsize: 8000 bytes

                    timeout: 2s

                    retries: 5

                    backoff: 1)

 /usr/share/perl5/SNMP_util.pm at line 492.

Snmpget Problem for .1.3.6.1.4.1.2021.4.6.0 .1.3.6.1.4.1.2021.4.6.0
SysUpTime sysName on public @ nagios61 :::::: v4only

 at / usr / bin / mrtg line 2339.

07/05/2015 19:27:32: WARNING: skipping Because at least the query for
.1.3.6.1.4.1.2021.4.6.0 on nagios61 did not succeed

07/05/2015 19:27:32: WARNING: no date for .1.3.6.1.4.1.2021.4.6 &
.1.3.6.1.4.1.2021.4.6: public @ nagios61. Skipping further Top queries for
Host nagios61 in this round.

07/05/2015 19:27:52: ERROR: Target [sens01_1] [_ IN_] '$ target -> [5] {} $
mode' did not eval into defined data

07/05/2015 19:27:52: ERROR: Target [sens01_1] [_ OUT_] '$ target -> [5] {} $
mode' did not eval into defined data

07/05/2015 19:27:52: ERROR: Target [ram_nagios61] [_ IN_] '$ target -> [6]
{} $ mode' did not eval into defined data

07/05/2015 19:27:52: ERROR: Target [ram_nagios61] [_ OUT_] '$ target -> [6]
{} $ mode' did not eval into defined data

 

Waiting for an answer thank you in advance,

 

Andrea

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.oetiker.ch/pipermail/mrtg/attachments/20150507/e10a7679/attachment-0001.html>


More information about the mrtg mailing list