Discover 1.1 Auto Creation of Devices
Moderators: Developers, Moderators
Discover 1.1 Auto Creation of Devices
Does Discovery automatically add devices into the data base? Or is it necessary to manually add the device.
Re: Discover 1.1 Auto Creation of Devices
this is the error I get adding devices manually, which of course I can remedy by typing a name into the description field. However I had hoped that devices could be added automatically. Just wondering if anyone knows if that is a function of Discovery.
Thanks
Thanks
- Attachments
-
- discovery-0.8.5_add_error.png (157.18 KiB) Viewed 1265 times
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Re: Discover 1.1 Auto Creation of Devices
This is indeed not yet available.
And it depends, which data field you'd like to see there. The SNMP sysName, the DNS name or what? I was thinking about making this available as a configuration option ...
R.
And it depends, which data field you'd like to see there. The SNMP sysName, the DNS name or what? I was thinking about making this available as a configuration option ...
R.
Re: Discover 1.1 Auto Creation of Devices
Good idea, either would work. I recently evaluated a product that allowed sysName, DNS or Host, and it gave the option to choose the order in which the three would be applied. This is seemingly a comprehensive approach, but one of the things that the discovery and naming does, is offer a opportunity to audit inventory, so when the assigned name is one of a group of choices makes that more difficult. I like the idea of picking.
So what do folk do now with cacti, where they want to add lots of devices? Manually add them?
So what do folk do now with cacti, where they want to add lots of devices? Manually add them?
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Re: Discover 1.1 Auto Creation of Devices
They use the cli interface to retrieve data from their CMDB and feed this to cacti. Then, they use AUTOM8 to create all graphs and tree entries.
But hey, what do you think why I made the suggestions from above? I only need a sponsor, hehehe
R.
But hey, what do you think why I made the suggestions from above? I only need a sponsor, hehehe
R.
Re: Discover 1.1 Auto Creation of Devices
It is possible to automade the add host name actually but you need to make some manual coding on discover.php
here is the code i made
my folder path:
file name:
This method can be applied to devices if there is no difference with them and if they are using all the same template. When your job finishes, just turn back to old values and it is ok.
here is the code i made
Code: Select all
<input type=hidden name=host_template_id value=16> // This was 0 , i changed to my custom template id
<input type=hidden name=description value=" . $row['sysName'] . "> //This was empty before, i put here the SNMP Name of the device.
Code: Select all
/var/www/html/cacti/plugins/discovery
Code: Select all
discover.php
Who is online
Users browsing this forum: No registered users and 3 guests