Classifying a New Operating System

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-12-2012 11:23 AM
I am trying to classify an operating system that does not have WMI, SSH, or SNMP enabled. However, it does have three distinct sets of ports that are open always. I am trying to create a PortProbe.IpService and a classification to put that CI into a table. However, I'm having trouble getting the classification script to run.
I know the IPService and Portprobe are set up correctly and being run by Shazzam. For now, I am just trying to get it classified by one port. Here is a result returned by Shazzam:
The PortProbe does NOT point to a Probe, but it does have "discovery_classy_scan" in the "use classification" section. Both CI and IP address checkboxes are checked.
In the discovery_class_scan table I have a "NewOS" record with the following being run on classification "current['os'] = 'mynewos';" and the table being a custom table extended from cmdb_ci_server.
The Classification Criteria is: NewOS.NewOSPort1.result equals open
The CI, however, never gets classified. I followed the instructions listed on the wiki here: http://wiki.service-now.com/index.php?title=Discovery_Classification_Parameters
It appears to be set up correctly, but just doesn't seem to be firing. I've even turned on the glide.discovery.debug.classification, but it doesn't seem to be logging anywhere.
However, when I just pick a random probe to input into the PortProbe record, it runs that Probe (and usually fails because the other probes don't apply). So I know that Shazzam is working as is the PortProbe, just not the classification.
Any thoughts?
- Labels:
-
Discovery
-
Service Mapping
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-12-2012 11:44 AM
Unfortunately we only create or update records on Identification so we have to be able to communicate with the device over WMI, SSH or SNMP..

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-16-2012 02:18 PM
Is it possible to create new ECC Topics similar to VMWareProbe ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-16-2012 02:44 PM
Yes, but you need a job with ServiceNow development to do so 🙂
Unfortunately those are locked in the code as those are the instructions the midserver uses to execute specific probe types...