help --template setup

Templates, scripts for templates, scripts and requests for templates.

Moderators: Developers, Moderators

Post Reply
benton2006
Cacti User
Posts: 50
Joined: Sun Apr 01, 2007 12:47 am

help --template setup

Post by benton2006 »

I want to create a template for monitor system time . SNMP OID is .1.3.6.1.2.1.25.1.2.0 . But snmpwalk result is 'HOST-RESOURCES-MIB::hrSystemDate.0 = STRING: 2008-6-17,13:30:18.0,+8:0' . It looks like text result . How can I create such template? Appreciate your help !
[quote][b]Cacti Version[/b] - 0.8.7b
[b]Plugin Architecture[/b] - 2.1
[b]Poller Type[/b] - Cactid v
[b]Server Info[/b] - Linux 2.6.9-55.ELsmp
[b]Web Server[/b] - Apache/2.2.6 (Unix) PHP/5.2.5RC1
[b]PHP[/b] - 5.2.5RC1
[b]PHP Extensions[/b] - xmlwriter, libxml, dom, xmlreader, xml, tokenizer, session, pcre, SimpleXML, SPL, PDO, sockets, snmp, SQLite, standard, Reflection, posix, pdo_sqlite, mysql, ldap, json, iconv, hash, filter, date, ctype, openssl, apache2handler
[b]MySQL[/b] - 5.0.41
[b]RRDTool[/b] - 1.0.50
[b]SNMP[/b] - 5.3.1
[b]Plugins[/b][list]PHP Network Managing (PHP Network Managing - v0.6)
Host Info (hostinfo - v0.2)
Network Tools (tools - v0.2)
Thresholds (thold - v0.3.9)
Device Monitoring (monitor - v0.8.2)
RRD File Cleaner (RRD Cleaner - v0.35)
Create Aggregate Graphs (aggregate - v0.65)
Global Plugin Settings (settings - v0.5)
uptime
WMI Query (wmi - v0.1)[/list][/quote]
User avatar
phakesley
Posts: 39
Joined: Tue Nov 13, 2007 11:24 am

Post by phakesley »

I would take a look at the uptime plugin

http://forums.cacti.net/viewtopic.php?t=13510

It might be what you are looking for.
benton2006
Cacti User
Posts: 50
Joined: Sun Apr 01, 2007 12:47 am

Post by benton2006 »

Thanks. But it uses for uptime not sys date.
[quote][b]Cacti Version[/b] - 0.8.7b
[b]Plugin Architecture[/b] - 2.1
[b]Poller Type[/b] - Cactid v
[b]Server Info[/b] - Linux 2.6.9-55.ELsmp
[b]Web Server[/b] - Apache/2.2.6 (Unix) PHP/5.2.5RC1
[b]PHP[/b] - 5.2.5RC1
[b]PHP Extensions[/b] - xmlwriter, libxml, dom, xmlreader, xml, tokenizer, session, pcre, SimpleXML, SPL, PDO, sockets, snmp, SQLite, standard, Reflection, posix, pdo_sqlite, mysql, ldap, json, iconv, hash, filter, date, ctype, openssl, apache2handler
[b]MySQL[/b] - 5.0.41
[b]RRDTool[/b] - 1.0.50
[b]SNMP[/b] - 5.3.1
[b]Plugins[/b][list]PHP Network Managing (PHP Network Managing - v0.6)
Host Info (hostinfo - v0.2)
Network Tools (tools - v0.2)
Thresholds (thold - v0.3.9)
Device Monitoring (monitor - v0.8.2)
RRD File Cleaner (RRD Cleaner - v0.35)
Create Aggregate Graphs (aggregate - v0.65)
Global Plugin Settings (settings - v0.5)
uptime
WMI Query (wmi - v0.1)[/list][/quote]
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests