NagiosGraph

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
csward
Posts: 46
Joined: Fri Mar 08, 2013 4:37 pm

NagiosGraph

Post by csward »

I'm having an issue where I can't load a graph for a particular service. I use Check_Temperature using mib values from some probes in our lab and would like to graph out the temp over days/weeks/months. I get this:

"No data available: host=myhostname service=Temperature Server Room db="

I'm guessing it can't find the .rrd file. I have tried to add the service to the datasetdb.conf file:

"service=Temperature Development Lab&db=data,warn,crit"


Here is the service/command:

Service:

define service {
use generic-service,nagiosgraph
host_name myhostname
service_description Temperature Qualification Lab
check_command check_temperature_QualLab! 84! 90!
}

Command:

define command{
command_name check_temperature_Server
command_line /usr/local/src/nagios-plugins-1.4.16/plugins/check_snmp_temperature.pl -H $HOSTADDRESS$ -C public -n .1.3.6.1.4.1.16174.1.1.1.3.1.1.0 -d .1.3.6.1.4.1.16174.1.1.1.3.1.2.0 -i 1F -o F -a'.' -w $ARG1$ -c $ARG2$
}


Anything would be helpful. Thanks
chris.fixter
Posts: 22
Joined: Wed Jun 18, 2014 4:15 am

Re: NagiosGraph

Post by chris.fixter »

Does the plugin return the performance data in correct format ?

Execute "/usr/local/src/nagios-plugins-1.4.16/plugins/check_snmp_temperature.pl -H $HOSTADDRESS$ -C public -n .1.3.6.1.4.1.16174.1.1.1.3.1.1.0 -d .1.3.6.1.4.1.16174.1.1.1.3.1.2.0 -i 1F -o F -a -w 80 -c 90" from ssh and check the output.

Next thing would be to turn on nagiosgraph debug and check the parse log.
mmiltchev
Posts: 10
Joined: Tue Jun 18, 2013 2:16 pm

Re: NagiosGraph

Post by mmiltchev »

csward, has your issue been resolved?
Locked