Ghost SCOM Objects

sometimes you may come across servers that show up in Monitoring with green empty circle, but don’t show up in agent managed or pending management. when this happens you will have to go into the SQL database and do some trickery.

greenempty

The query below will show you the object in the OperationsManager database. You will see it has IsDeleted set to 0

SELECT * FROM dbo.[BasemanagedEntity] where FullName Like ‘%Windows.Computer%’ and Name Like ‘%FQDN.domain.local%’;
command1

This query will set the IsDeleted to 1. after a couple of minutes it should disappear from monitoring in SCOM.

UPDATE dbo.[BasemanagedEntity] SET IsDeleted = 1 where FullName Like ‘%Windows.Computer%’ and Name Like ‘%FQDN.domain.local%’;

The server may also be stuck in pending actions. the query below will show you this.

select * from agentpendingaction

If the server is in there, run the query below to delete it from the database. After a couple of minutes the server should pop back up in pending management were you can approve.

exec p_AgentPendingActionDeleteByAgentName ‘FQDN.domain.local’

*when copying these queries the quotes won’t copy as SQL quotes*

SonicWall PFSense VPN

Setting up a tunnel between two different firewalls can be rather tricky at times. Here we’ll go over configuring a VPN with a SonicWall NSA 250 on 5.9.1.1-39 with a PFSense on 2.3.1-RELEASE-p5.

Let’s go over the config on the sonicwall first. On it, I only need to get to the DMZ network on the X2 interface. There are two networks on the PFSense side, so need to create two address objects and place them in a group.
addressobjects

Now with the address objects created, we can start on the VPN configuration. The Sonicwall has a static IP, the PFSense does not. It easier to get the tunnel up if we use domain names for the IKE IDs. I created a dynamic DNS name with NO-IP.org to use on the PFSense side.
general

For the network config I select the network on the Sonicwall side for the local network which is the X2 subnet, and for the remote networks, I select the address object group.
network

IKE proposals and lifetimes for the phase1 and phase2 policies on both sides need to match.
Proposals

On the advance tab just leave at default.
advanced

Now on the PFSense side you create a phase1 policy then phase2 policies for the 2 local networks.
PFtunnels

generalPF

Phase1PF

Phase1PF2

advancedPF

Next, create a phase2 policy.
Phase2PF

Phase2PF2

I enter in a host on the sonicwall side for the PFsense to ping to keep the tunnel up.
Phase2PF3

Now with any luck you should have green dots.
greendots

49th

I had mixed feelings about being back home, but it was still nice..here are some pics from the HTC Re. I will upload the one of my iphone soon. need to deleted those shits anyway

Plex and FreeNAS

Plex media server plugin for FreeNAS slays. maybe someday i’ll make a step-by-step.

movies music

Here is the setup of the cifs shares.

Shares

Here are the plugins I use.

plugin

here is the config of the storage for the jail/plugins.

jailstorage

Stylish: Browser Plugin

Stylish is a browser plugin were it can change the look of your favorite websites. After you have installed the plugin, you can go to userstyles.org to browse and add the different styles that are available.

An example of styles I have added.

stylish
The Twitter styles I use are: Twittify!, Twitter Hide Moments Tab, and a custom style that changes the heart like icon to any emoji of your choosing. Just copy the code below and replace the poo with whatever emoji you want.
 poop
.HeartAnimationContainer { visibility: hidden; } .HeartAnimationContainer:after { content: ‘💩’; visibility: visible; display: block; position: absolute; }
Capture2 Capture

Red Cups

I saw this the other day on the twitter, plus I haven’t wrote anything in a bit so I thought I would give my two cents. Maybe it’s because merica isn’t all Christian, or the world for that matter. What about Happy Kwanzaa? Marry Eid al-Adha? I know they’re not around the same time, but I don’t think someone who isn’t Christian would want to see it ever time they get a cup of coffee. Why does just Christmas get a cup? Why doesn’t every religion get one then? I was raised Christian, grew up with Christmas. Some of my earliest memories that i can remember were around Christmas time. I’m not going to think there is a some war on Christmas because Starbucks doesn’t want to have it on their cups anymore…Anyway, I just wanted to post this cup cause I thought it was funny as fuck.

.Merc

Made a mix a couple of weeks ago. I got about half way through before the last mix i didn’t like. It will get you through 30 minutes of your day tho.

Download

#PHxMosque

I have never seen groups of people yell at each other before, so I went down the the Phoenix mosque yesterday to check it out. I don’t like sticking the camera in peoples faces but I still got some good footage. It was good to see Jews and Muslims on the same side.

I went down there by myself to check it out. After I got back home and showed the video to my roommates, one of them wanted to go back and check it out too. The sun was down so it’s a bit tough to see, but I did get this dumbass. I will stick the camera in your face if I don’t like you, because I don’t give a shit if you like it or not.

Here is the organizer of hate on Anderson Cooper. Cooper makes this guy look like a fool, but that is probably easy to do.

https://www.youtube.com/watch?v=vDc_6nioI7o

Moral of the story. This was a complete waste of time. There will be some bad apples, I think Islam gets a bad rap because the majority of middle easterns practice Islam. Not all white people are Christian, so when a white dude climbs a tower and starts picking people off, there isn’t anything to blame it on, he was just a troubled kid… The one thing I do like about real Muslims is they don’t try to force their religion down your throat. You don’t have them knocking on your door, or passing out booklets asking, “Have you heard of Mohammed?”

XInsta

XInsta is a Xposed mod were you can download pictures and video from Instagram. Another reason in the long list of reasons to root your android.
Screenshot_2015-05-13-17-43-55

 

 

 

 

 

 

 

 

Nexus Player

By now I thought the Nexus Player would have some cool roms and all sorts of development for it, boy I was wrong. At least you can side load popcorn time and spotify. If you couldn’t side load apps. The Nexus Player would suck.

Phoguson

Last night while my roommates and I were enjoying a evening out at Phoenix’s First Friday. An angry mob came marching down roosevelt protesting the recent killings of unarmed black men and 12 year old boys. They should have turned left at the light and all laid down on the I-10. Shut it down.

 

phoguson from marcelliotnet on Vimeo.

RDS Session Host issue in Windows 2008 R2

At my work we have over 1500 servers. I cloned one of our citrix boxes and it lost it’s TS licensing. When I opened the session host configuration I got a pop-up saying, “The sessions for this RD Session Host server cannot be retrieved. The remove server does not support running RemoteApp Manager remotely”

rdp

This is a WMI error, the google kept telling me to run winmgmt /salvagerepository at command prompt with administrative privileges should resolve the issue. That didn’t work, the lines below do.

cd c:\Windows\system32\wbem
for /f %%s in (‘dir /b /s *.dll’) do regsvr32 /s %%s
pause
for /f %%s in (‘dir /b *.mof *.mfl’) do mofcomp %%s
pause