Problems with Nagios CORE

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
jsoar
Posts: 1
Joined: Thu Aug 25, 2016 1:45 am

Problems with Nagios CORE

Post by jsoar »

Hi everyone!

I have two problems with Nagios Core. I have a Debian server and I try to monitor a Mikrotik router:

check_mrtgtraf: Unable to open MRTG log file
Usage check_mrtgtraf -F <log_file> -a <AVG

SNMP problem - No data received from host
CMD: /usr/bin/snmpget -t 1 -r 5 -m RFC1213-MIB -v 1
bwallace
Posts: 1145
Joined: Tue Nov 17, 2015 1:57 pm

Re: Problems with Nagios CORE

Post by bwallace »

Let's start with the mrtgtraf first:

Please post the output of the following:

Code: Select all

ls -ld /var/lib/mrtg
ls -l /var/lib/mrtg

For the SNMP problem can you run nmap (from the Nagios machine) against the server in question to see if it is reachable? Run this cmd on your Nagios box:
nmap -sU -p 161 hostname\IP

*Keep in mind that we may have open a new thread for the SNMP problem should we have to do extensive troubleshooting for either issue.
Be sure to check out the Knowledgebase for helpful articles and solutions!
Locked