Troubleshooting Issues with Generating JMBs
Problem:
Description: No JMB is generated on a device running Junos OS.
Solution
AI-Scripts generate JMBs when an event occurs on the
device on which they are installed and store the JMBs in the /var/tmp
directory of the device. Service Now then
copies the JMBs and the attachments from the device to /var/cache/jboss/SN/Jmb/output
of the Junos Space
Appliance. The JMBs and attachments are deleted from the device after
they are copied to the Junos Space Appliance. From the Junos Space
Appliance, the JMBs along with the attachments are uploaded to Juniper
Support System (JSS) when the incident is submitted to JSS for creating
a case.
To troubleshoot issues with JMB generation:
- Log in to the device.
- Enter CLI mode and execute the show log default-log-messages
| match AIS_DATA_AVAILABLE command.
An output similar to the following is displayed if the JMBs are generated.
<13>1 2014-09-23T05:41:21.719Z sn-space-ex6200-sys cscript - - - AIS_DATA_AVAILABLE: JMB generation initiated for eventID=998 <13>1 2014-09-23T05:42:36.945Z sn-space-ex6200-sys logger - - - transfer-file: Transferred /tmp/evt_op_i4fS37 <13>1 2014-09-23T05:51:29.139Z sn-space-ex6200-sys cscript - - - AIS_DATA_AVAILABLE: To be Transferred : JMB ready for upload /var/tmp/sn-space-ex6200-sys_998_ais_intel_20140923_054236 size=34089 <13>1 2014-09-23T05:54:08.446Z sn-space-ex6200-sys cscript - - - AIS_DATA_AVAILABLE: To be Transferred : All attachments ready for upload <13>1 2014-09-23T05:58:23.445Z sn-space-ex6200-sys cscript - - - AIS_DATA_AVAILABLE: JMB generation initiated for eventID=995 <13>1 2014-09-23T06:09:58.222Z sn-space-ex6200-sys cscript - - - AIS_DATA_AVAILABLE: To be Transferred : JMB ready for upload /var/tmp/sn-space-ex6200-sys_ais_health_123456 size=10015 <13>1 2014-09-23T06:10:48.379Z sn-space-ex6200-sys cscript - - - AIS_DATA_AVAILABLE: To be Transferred : All attachments ready for upload
If you do not find the AIS_DATA_AVAILABLE messages in the output, see Troubleshooting AI-Scripts Installation Issues to check whether the AI-Scripts bundle is properly installed on the device.
For assistance with resolving this issue, contact JTAC at https://www.juniper.net/support/requesting-support.html .