
Is there any way to mass edit nodes, or mass enable CPU/Memory Monitoring on all our juniper devices? We have close to 200 Juniper J/M/SRX Series and I would rather not have to relist all the resources on each node.
Unfortunately, there is no mass poller assignment method available from the website. When we first upgrade you, we kick off a background job to update all the pollers in your Pollers table. Did any of your Juniper devices end up with a "N.Cpu.SNMP.Juniper..." poller?
SELECT * FROM Pollers WHERE PollerType LIKE 'N.Cpu.SNMP.Jun%'
Let me check with other devs to see if we can think of a quick way to do this.
Yes - I see about 30 devices that have that set, but I think they're all ones we have edited so far. I have a total of 115 devices that are running JUNOS that are distributed amongst EX, SRX, M, and J Series devices.
Just quick question: Can you see CPU support on "List Resources" on suspected nodes?
On upgrade we re-assign all cpu/memory pollers only on nodes which had assigned CPU poller before upgrade. In case there wasn't poller we don't assign cpu poller automatically on upgrade to all nodes, because there's always possibility that user disabled CPU manually.
Or this upgrade process wasn't finished yet. Can you check table NodeSettings whether you have there properties "Core.NeedsInventory"? If it's there, those nodes are waiting for pollers re-assignment.
thanks
dark_15,
thank you for feedback, your case is tracked under internal case #83665. I would like to ask you whether you can upload diagnostics from your engine to our LeapFile server for analyze. If so, please mark it with this case number.
Thank you for collaboration
Files have been uploaded with Attention to you, ET. Thank you for the assistance!
thank you, I have it. We made changes to RC2 relates to this.
Can you please try to run this SQL command against your NPM database? It will assign lazy re-inventory on all juniper nodes which tries to automatically re-assign all cpu/mem pollers if they are supported by nodes.
INSERT INTO dbo.[NodeSettings]
SELECT NodeID AS NodeID, 'Core.NeedsInventory' AS SettingName, 'Cpu:Memory:L2:L3' AS SettingValue
FROM dbo.[Nodes] WHERE ObjectSubType = 'SNMP'
AND (LOWER(MachineType) LIKE '%juniper%' OR LOWER(MachineType) LIKE '%netscreen%')
AND NodeID NOT IN (SELECT NodeID FROM dbo.[NodeSettings] WHERE SettingName = 'Core.NeedsInventory')
You should see results in 15 minutes. If cpu/mem pollers are not assigned and you can't see them on "List Resources" I would probably need SNMP walk from these nodes (you can make it by our new tool SNMPWalk.exe in install directory).
thanks
Worked like a charm! Thank you for the query!
On a side note, adding the Juniper devices did skew my Top 10 results in memory utilization (m7i's taking full BGP tables will do that to you I suppose), so I used a slight modification of your query in order to clean that up. This is the query I put in the Top 10 Filter:
NOT (LOWER(MachineType) LIKE '%juniper%' OR LOWER(MachineType) LIKE '%netscreen%')
I want to do the same thing, but for Riverbed devices. Auto Discovery doesn't bring up the option for CPU and Memory monitoring for some reason. I can modify the query to '%riverbed%' instead of juniper or netscreen, but I don't see a NodeSettings table in my database. Is this a Juniper specific table, or is it some sort of invisible/hidden table that I just can't see?
Hi,
NodeSettings is new in 10.2 and 10.2.1, have you upgraded yet?
We expanded our support of Juniper devices in 10.2, so that's why this thread applies to Juniper. I don't think you'll get the same results for all types of devices.
We will be upgrading in January. I'll look into it again then.
Thanks for the reply.
Just as an update, we completed our upgrade to 10.2.1 so I thought I would give this a try for Riverbed Steelhead devices. It took a little longer than 15 minutes, but it worked like a charm. I just replaced the %juniper% with %riverbed% in the machine type.
Thanks!
Unfortunately, there is no mass poller assignment method available from the website. When we first upgrade you, we kick off a background job to update all the pollers in your Pollers table. Did any of your Juniper devices end up with a "N.Cpu.SNMP.Juniper..." poller?
SELECT * FROM Pollers WHERE PollerType LIKE 'N.Cpu.SNMP.Jun%'
Let me check with other devs to see if we can think of a quick way to do this.
We need the same. We have 300 SRX devices.