Page 1 of 1
some services not graphing data
Posted: Fri May 17, 2024 5:20 pm
by michaewlewis
I have several services that are polling data on a regular basis but they're not graphing data for me. I've verified that they're returning actual integers, some have a multiplier flag on the command and it doesn't error out. It shows me current data but no historical data.
How do I figure out what the problem is?
Here's one of the commands that I'm having trouble with:
check_xi_service_snmp!-o .1.3.6.1.4.1.3732.4.4.3.19.0 -C readonly -P 2c -l watts -m viper_scx.mib --multiplier 0.1!!!!!!!
Re: some services not graphing data
Posted: Sun May 19, 2024 11:13 pm
by kg2857
Post the output of the command and check the service perfdata info under the perfdata dir, specifically the timestamps on the rrd and xml files. If the files are old remove them.
Re: some services not graphing data
Posted: Mon May 20, 2024 12:40 pm
by michaewlewis
[
[email protected] ~]$ /usr/local/nagios/libexec/check_snmp -H 10.77.6.1 -o .1.3.6.1.4.1.3732.4.4.3.13.0 -C snmp_read -P 2c -l "Watts" -m viper_scx.mib -w 1.7 -c 2.2
SNMP OK - Watts 0.3 | Watts=0.3;1.7;2.2
Timestamps on perfdata files are current as of today. But I went ahead and deleted them for one of my hosts and it looks like it is storing data now. Do I need to do that for all of the services/hosts manually, or is there an automated way to do a multiple at the same time?
Re: some services not graphing data
Posted: Mon May 20, 2024 1:14 pm
by swolf
Hi
@michaewlewis,
As far as I know, we don't currently have a way to bulk-manage performance data files in the interface. I've filed a feature request on your behalf.
-Sebastian