Control: tags -1 moreinfo

Hi Jim,

Thanks for reporting issues you encounter.

On 21-01-2020 21:15, Jim McNamara wrote:
>    * What led up to the situation?
>       Upgraded machine from Stretch to Buster, cacti was upgraded in process 
> from 0.8.8 to 1.2.2.
> 
>    * What exactly did you do (or not do) that was effective (or
>      ineffective)?
>       Any host added through the use of /usr/share/cacti/cli/add_device.php 
> reports success, but the device-id is always 0 and the host never appears 
> either in the web interface or via /usr/share/cacti/cli/add_tree.php 
> --list-hosts
> 
>    * What was the outcome of this action?
>       ++ /usr/share/cacti/cli/add_device.php --template=1 
> --description=192.168.112.200 --ip=192.168.112.200 --community=public
>       + ADDHOST='Adding 192.168.112.200 (192.168.112.200) as "Generic 
> SNMP-enabled Host" using SNMP vnet-snmp with community "public"
>       Success - new device-id: (0)'
> 
>       The host is not added, and 0 seems like an odd device-id as they seem 
> to start from 1
> 
>    * What outcome did you expect instead?
>       
>       Host would be added with the next available device-id, that new 
> device-id should be reported by the add-device.php script

I found this upstream report: https://github.com/Cacti/cacti/issues/3111
Can you check your cacti.log for errors and see if the issue matches?

Paul

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to