Page 1 of 1

NagiosGraph

Posted: Tue Jul 29, 2014 4:46 pm
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

Re: NagiosGraph

Posted: Tue Jul 29, 2014 8:31 pm
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.

Re: NagiosGraph

Posted: Wed Aug 06, 2014 9:09 am
by mmiltchev
csward, has your issue been resolved?