I'm trying to create a migration script for my server. When i try to restore cacti i have this error :
If i try snmpget i have a reply :02/11/2013 11:55:02 AM - PHPSVR: Poller[0] PHP Script Server has Started - Parent is cmd
02/11/2013 11:55:02 AM - CMDPHP: Poller[0] PHP Script Server Started Properly
02/11/2013 11:55:03 AM - CMDPHP: Poller[0] WARNING: SNMP Get Timeout for Host:'localhost', and OID:'.1.3.6.1.2.1.1.3.0'
02/11/2013 11:55:03 AM - CMDPHP: Poller[0] Host[1] SNMP: Host did not respond to SNMP
02/11/2013 11:55:03 AM - PHPSVR: Poller[0] DEBUG: PHP Script Server Shutdown request received, exiting
02/11/2013 11:55:03 AM - CMDPHP: Poller[0] Time: 1.2513 s, Theads: N/A, Hosts: 1
So, after a few day of research, i have found how to make it work, but it's not a valid solution :snmpget -v 2c -c public localhost .1.3.6.1.2.1.1.3.0
DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (545927) 1:30:59.27
- Install cacti
- Restore rrd file
- Start cron
- Go to device admin page : http://localhost/cacti/host.php
- Select host and, just save the form
Just after this modification, it works :
So I compared the records in the table host :02/11/2013 12:00:01 PM - PHPSVR: Poller[0] PHP Script Server has Started - Parent is cmd
02/11/2013 12:00:01 PM - CMDPHP: Poller[0] PHP Script Server Started Properly
02/11/2013 12:00:01 PM - CMDPHP: Poller[0] Host[1] SNMP: Host responded to SNMP
02/11/2013 12:00:01 PM - CMDPHP: Poller[0] Host[1] RECACHE: Processing 1 items in the auto reindex cache for '127.0.0.1'.
Before :
After request to host admin page ( Before cron ):"1","1","vm.local","127.0.0.1",,"public","2",,,"MD5",,"DES",,"161","500","2","2","23","500","1","10","1",,"1","7","0000-00-00 00:00:00","0000-00-00 00:00:00","Host did not respond to SNMP","0.13000","2561.00000","0.80000","3.59454","351196","26","99.99260","0"
After cron job ( Status = 3 ) :"1","1","vm.local","127.0.0.1",,"public","2",,,"MD5",,"DES",,"161","500","2","2","23","500","1","10","1",,"1","7","0000-00-00 00:00:00","0000-00-00 00:00:00","Host did not respond to SNMP","0.13000","2561.00000","0.80000","3.59454","351196","26","99.99260","0"
Same data...."1","1","vm.local","127.0.0.1",,"public","2",,,"MD5",,"DES",,"161","500","2","2","23","500","1","10","1",,"3","0","0000-00-00 00:00:00","0000-00-00 00:00:00","Host did not respond to SNMP","0.13000","2561.00000","7.84000","3.59485","351209","26","99.99260","0"
What exactly does this administration page hosts ?
Thanks for your help
P.S : Sorry for the basic english , i do my best