I am getting snmp-memory info from my hosts usung the /usr/nagios/linexec/snmp_mem.pl script. All data appears in my perfparse DB as expected:
This look good I think..
However, if I go to Monitorring -> service detail and click on the graph-icon for the memory usage, I always get:
One line for every entry in the database..
Since the data looks good for me, I have no idea where this error comes from.. any suggestions??
Thing is that there is still no graph
Code:
mysql> select * from perfdata_service_bin where host_name="ldap.bart.nl" and service_description="snmpMemory"; +------+-------------------+---------------------+-----------+---------------------+--------+--------+----------+-------+ | id | host_name | service_description | metric | ctime | value | warn | critical | state | +------+-------------------+---------------------+-----------+---------------------+--------+--------+----------+-------+ | 1325 | ldap.bart.nl | snmpMemory | ram_used | 2006-11-13 21:35:30 | 125308 | 129761 | 131072 | 0 | | 1326 | ldap.bart.nl | snmpMemory | swap_used | 2006-11-13 21:35:30 | 8232 | 196602 | 222816 | 0 | | 1363 | ldap.bart.nl | snmpMemory | ram_used | 2006-11-13 21:39:51 | 125308 | 131072 | 131072 | 0 | | 1364 | ldap.bart.nl | snmpMemory | swap_used | 2006-11-13 21:39:51 | 8232 | 196602 | 222816 | 0 | | 1387 | ldap.bart.nl | snmpMemory | ram_used | 2006-11-13 21:42:51 | 125448 | 131072 | 131072 | 0 | | 1388 | ldap.bart.nl | snmpMemory | swap_used | 2006-11-13 21:42:51 | 8232 | 196602 | 222816 | 0 | | 1417 | ldap.bart.nl | snmpMemory | ram_used | 2006-11-13 21:45:51 | 125448 | 131072 | 131072 | 0 | | 1418 | ldap.bart.nl | snmpMemory | swap_used | 2006-11-13 21:45:51 | 8232 | 196602 | 222816 | 0 | | 1443 | ldap.bart.nl | snmpMemory | ram_used | 2006-11-13 21:48:51 | 125448 | 131072 | 131072 | 0 | | 1444 | ldap.bart.nl | snmpMemory | swap_used | 2006-11-13 21:48:51 | 8232 | 196602 | 222816 | 0 | | 1471 | ldap.bart.nl | snmpMemory | ram_used | 2006-11-13 21:51:51 | 125588 | 131072 | 131072 | 0 | | 1472 | ldap.bart.nl | snmpMemory | swap_used | 2006-11-13 21:51:51 | 8232 | 196602 | 222816 | 0 | | 1495 | ldap.bart.nl | snmpMemory | ram_used | 2006-11-13 21:54:51 | 125588 | 131072 | 131072 | 0 | | 1496 | ldap.bart.nl | snmpMemory | swap_used | 2006-11-13 21:54:51 | 8232 | 196602 | 222816 | 0 | +------+-------------------+---------------------+-----------+---------------------+--------+--------+----------+-------+ 14 rows in set (0.00 sec)
However, if I go to Monitorring -> service detail and click on the graph-icon for the memory usage, I always get:
Code:
Warning: Division by zero in /usr/local/oreon/www/include/views/graphs/simpleRenderer/simpleRenderer.php on line 303 Warning: Division by zero in /usr/local/oreon/www/include/views/graphs/simpleRenderer/simpleRenderer.php on line 303 Warning: Division by zero in /usr/local/oreon/www/include/views/graphs/simpleRenderer/simpleRenderer.php on line 303
Since the data looks good for me, I have no idea where this error comes from.. any suggestions??
Thing is that there is still no graph
Comment