Hello,
Could someone please point me in the direction of where the following HTML is kept?
'Add new device' - host.php?action=edit&host_template_id=-1&host_status=-1
Basically, im looking to add an extra field to the form so I can setup 'groups' and then group devices together. I'm aware ill need to edit/amend the SQL process, I should be ok I think.. I hope, lol
Thank you for your help
Carl
Advice on HTML location
Moderators: Developers, Moderators
-
- Posts: 8
- Joined: Mon Jan 08, 2007 8:57 am
- Location: Cheshire, UK
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Please explain in more detail how you want to group target systems and why the graph tree is not an option for it.
For modifications, personally I would advise using the plugin architecture as a basis. find more at http://cactiusers.org
Reinhard
For modifications, personally I would advise using the plugin architecture as a basis. find more at http://cactiusers.org
Reinhard
-
- Posts: 8
- Joined: Mon Jan 08, 2007 8:57 am
- Location: Cheshire, UK
My idea is simple.
- Create a new mysql table called 'groups' with the structure of
id, groupname, description, device_id
- Add a new field called 'Group' which could either be a drop downlist or freeform text box. This would be on the 'add device' page and edit page.
- When you add a device, you can join it to a group ie;
NS0 -> DNS Servers
NS1 -> DNS Servers
MX1 -> Mail Servers
etc
- Then, modify the monitor/index.php page to show a new table or css layout for each group, with the devices inside. Why?
Make the monitor page look cleaner and easier for people to see what they are by looking at them.
Does that make sense? And yeah I checked host.php, but couldn't find the form elements
- Create a new mysql table called 'groups' with the structure of
id, groupname, description, device_id
- Add a new field called 'Group' which could either be a drop downlist or freeform text box. This would be on the 'add device' page and edit page.
- When you add a device, you can join it to a group ie;
NS0 -> DNS Servers
NS1 -> DNS Servers
MX1 -> Mail Servers
etc
- Then, modify the monitor/index.php page to show a new table or css layout for each group, with the devices inside. Why?
Make the monitor page look cleaner and easier for people to see what they are by looking at them.
Does that make sense? And yeah I checked host.php, but couldn't find the form elements
-
- Posts: 8
- Joined: Mon Jan 08, 2007 8:57 am
- Location: Cheshire, UK
Who is online
Users browsing this forum: No registered users and 2 guests