Send netdisco-users mailing list submissions to
        netdisco-users@lists.sourceforge.net

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.sourceforge.net/lists/listinfo/netdisco-users
or, via email, send a message with subject or body 'help' to
        netdisco-users-requ...@lists.sourceforge.net

You can reach the person managing the list at
        netdisco-users-ow...@lists.sourceforge.net

When replying, please edit your Subject line so it is more specific
than "Re: Contents of netdisco-users digest..."
Today's Topics:

   1. Re: Cisco IMEI tracker report for cellular services
      (Oliver Gorwits)
--- Begin Message ---
Hi Muris

Many thanks for the output. There's good and bad news!

The implementation in Netdisco is not a small task, as SNMP::Info would
need updating to load the MIB for some devices and also code to work out
which devices that is done for. Then Netdisco needs a small patch to get
the data, and database fields. I admit to feeling that for what is possibly
quite niche, adding database fields seems a lot, plus then the user
interface fields. The Netdisco side is at least copy-paste, mostly.

One issue is that, in case you were not aware, there can be multiple modems
per device! The data is in a table, and what you showed me is a table with
one row, but it's quite feasible for a device to have multiple modems. We'd
need to be able to cope with that complexity to implement the feature
properly, which complicates the above, especially the Netdisco side. (as an
aside, I do like that the table for the GSM module metadata is indexed on
the ID of the FRU from ENTITY-MIB)

On the other hand, there is actually, I think, a neat solution you can
implement locally using *existing features* and deployment.yml only.
Hurrah! (that's the good news bit) I just need to put some thought into the
design and will write it up in the wiki, as it's quite interesting.

If you are keen, you can at least open an issue on github with the feature
request and copy in the content from our email thread for context.

Kind regards
Oliver.


On Thu, 12 Sept 2024 at 07:36, Muris <alcat...@gmail.com> wrote:

> Hi Oliver , that works, can you also add the carrier type ? It is
> c3gGsmNetwork
>
>
>
> It would be nice to have a report something like Reports > Device > Cisco
> Cellular Routers IMEI
>
>
>
> Then it gives name of the router/ip address/carrier/imei/number.
>
> Maybe also something to track IMEI number & GSM network changes for a
> specific device and when it was last seen/and or updated, with some
> historical data
>
>
>
> ~/bin/netdisco-do show -d 10.1.1.1 -e CISCO-WAN-3G-MIB::c3gImei -D
>
> [22153] 2024-09-12 04:38:29  info App::Netdisco version 2.074001 loaded.
>
> [22153] 2024-09-12 04:38:29  info show:
> [10.1.1.1]/CISCO-WAN-3G-MIB::c3gImei started at Thu Sep 12 14:08:29 2024
>
> [22153] 2024-09-12 04:38:30 debug show: running with timeout 600s
>
> [22153] 2024-09-12 04:38:30 debug => running workers for phase: check
>
> [22153] 2024-09-12 04:38:30 debug -> run worker check/1000000
> "internal::backendfqdn"
>
> [22153] 2024-09-12 04:38:30 debug -> run worker check/1000000
> "internal::snmpfastdiscover"
>
> [22153] 2024-09-12 04:38:30 debug running with configured SNMP timeouts
>
> [22153] 2024-09-12 04:38:30 debug -> run worker check/0 "show"
>
> [22153] 2024-09-12 04:38:30 debug Show is able to run
>
> [22153] 2024-09-12 04:38:30 debug => running workers for phase: main
>
> [22153] 2024-09-12 04:38:30 debug -> run worker main/100 "show"
>
> [22153] 2024-09-12 04:38:30 debug snmp reader cache warm: [10.1.1.1]
>
> [22153] 2024-09-12 04:38:30 debug [10.1.1.1:161] try_connect with v: 2,
> t: 0.2, r: 0, class: SNMP::Info::Layer3::CiscoSwitch, comm: <hidden>
>
> {
>
>     21   99424056879145
>
> }
>
> [22153] 2024-09-12 04:38:32  info show: finished at Thu Sep 12 14:08:32
> 2024
>
> [22153] 2024-09-12 04:38:32  info show: status done: Showed
> CISCO-WAN-3G-MIB::c3gImei response from 10.1.1.1
>
>
>
>
>
> ~/bin/netdisco-do show -d 10.1.1.1 -e CISCO-WAN-3G-MIB::c3gGsmNetwork -D
>
> [23874] 2024-09-12 04:41:30  info App::Netdisco version 2.074001 loaded.
>
> [23874] 2024-09-12 04:41:30  info show:
> [10.1.1.1]/CISCO-WAN-3G-MIB::c3gGsmNetwork started at Thu Sep 12 14:11:30
> 2024
>
> [23874] 2024-09-12 04:41:30 debug show: running with timeout 600s
>
> [23874] 2024-09-12 04:41:30 debug => running workers for phase: check
>
> [23874] 2024-09-12 04:41:30 debug -> run worker check/1000000
> "internal::backendfqdn"
>
> [23874] 2024-09-12 04:41:30 debug -> run worker check/1000000
> "internal::snmpfastdiscover"
>
> [23874] 2024-09-12 04:41:30 debug running with configured SNMP timeouts
>
> [23874] 2024-09-12 04:41:30 debug -> run worker check/0 "show"
>
> [23874] 2024-09-12 04:41:30 debug Show is able to run
>
> [23874] 2024-09-12 04:41:30 debug => running workers for phase: main
>
> [23874] 2024-09-12 04:41:30 debug -> run worker main/100 "show"
>
> [23874] 2024-09-12 04:41:30 debug snmp reader cache warm: [10.1.1.1]
>
> [23874] 2024-09-12 04:41:30 debug [10.1.1.1:161] try_connect with v: 2,
> t: 0.2, r: 0, class: SNMP::Info::Layer3::CiscoSwitch, comm: <hidden>
>
> {
>
>     21   "Telstra"
>
> }
>
> [23874] 2024-09-12 04:41:32  info show: finished at Thu Sep 12 14:11:32
> 2024
>
> [23874] 2024-09-12 04:41:32  info show: status done: Showed
> CISCO-WAN-3G-MIB::c3gGsmNetwork response from 10.1.1.1
>
>
>
> *From: *Oliver Gorwits <oli...@cpan.org>
> *Date: *Wednesday 11 September 2024 at 23:58
> *To: *Muris <alcat...@gmail.com>
> *Cc: *"netdisco-users@lists.sourceforge.net" <
> netdisco-users@lists.sourceforge.net>
> *Subject: *Re: [Netdisco] Cisco IMEI tracker report for cellular services
>
>
>
> Hi Muris!
>
>
>
> I think this may be possible but can you send the output of this command,
> please (to me direct by email is fine, if you don't wish to share widely):
>
>
>
> ~/bin/netdisco-do show -d x.x.x.x -e CISCO-WAN-3G-MIB::c3gImei -D
>
>
>
> regards,
>
> oliver.
>
>
>
> On Wed, 11 Sept 2024 at 07:35, Muris <alcat...@gmail.com> wrote:
>
> Hi,
>
>
>
> I was wondering is it possible to add an extra field in netdisco to
> collect Cisco IMEI numbers for tracking cellular services?
>
>
>
> The SNMP Oid for Cisco IMEI is .1.3.6.1.4.1.9.9.661.1.3.1.1.2
>
>
>
> This way a report can be made with hostname of the router and attached IMEI
>
>
>
> I just thought this would be useful for tracking hundreds of routers on
> cellular services and if they have been seen online/or if it matches with
> the carrier etc
>
>
>
> Muris
>
>
>
>
>
>
>
> _______________________________________________
> Netdisco mailing list
> netdisco-users@lists.sourceforge.net
> https://sourceforge.net/p/netdisco/mailman/netdisco-users/
>
>

--- End Message ---
_______________________________________________
Netdisco mailing list - Digest Mode
netdisco-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/netdisco-users

Reply via email to