[ZBX-23192] Jenkins template - depth option Created: 2023 Aug 02 Updated: 2025 Jan 10 |
|
| Status: | Confirmed |
| Project: | ZABBIX BUGS AND ISSUES |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Problem report | Priority: | Trivial |
| Reporter: | Robert | Assignee: | Zabbix Integration Team |
| Resolution: | Unresolved | Votes: | 4 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
||||
| Issue Links: |
|
||||
| Sprint: | Support backlog | ||||
| Description |
|
I believe Jenkins template doesn't support nested jobs. We use folders, sometimes folders in folders etc. to organize jobs properly but out of box template configuration doesn't seem to support changing depth of the jobs discovery. It's possible to request Jenkins API to return more data with eg. depth parameter:
This might be achievable through manual editing of course, but future updates from official Zabbix sources might make this custom changes really bothering to maintain. Would be nice to have depth option configurable at host level. |
| Comments |
| Comment by Pradeep [ 2024 Sep 05 ] |
|
Hi Robert,
actually I am facing the same issue. I couldn't able monitor my Jenkins jobs inside folders. I am following 'Jenkins by HTTP' and ' .yaml ' file to interact Zabbix with Jenkins. above you have mentioned that this can possible through manual editing. can you please explain what changes does I need to do to monitor jobs inside folders in Jenkins using Zabbix monitoring tool. Thanks in advance |
| Comment by revertere [ 2025 Jan 10 ] |
|
This functionality would complete the overall requirement to monitor Jenkins, I could not find a means to do it using the Zabbix OOTB solution so I wrote my own in Python and Reduxed the existing Zabbix Template to fit my needs of recursive folder scanning to find nested jobs.
The updates can be seen here: |