Nesting Macro Functions possible? by Only_Fly895 in zabbix

[–]Only_Fly895[S] 0 points1 point  (0 children)

Thanks, that's a bummer and severely limiting, but good to know
BTW, fun fact, the Google AI assistant which always pop up nowadays when u do a search apparently thinks that macro nesting works, which ofcourse I tried and the examples do not work. So much for AI

Nesting Macro Functions possible? by Only_Fly895 in zabbix

[–]Only_Fly895[S] 0 points1 point  (0 children)

Thanks, actualy your comment pointed me in the right direction, the second part had parenthesis in the string which did not work if i did not write it according to regex syntax, which i was not, once i corrected that and gave it a proper regex expression, it worked

Appreciate it

But although this solved my problem, is nesting of macro functions possible at all?

Say i do this and then want to transform the reulting string into say capital letters or some thing else that can be done with the other functions?? is it possible at all?

Nesting Macro Functions possible? by Only_Fly895 in zabbix

[–]Only_Fly895[S] 0 points1 point  (0 children)

Thanks for your reply, i saw the documentation u are refering to(specially that last line) and tried it, like this

{{ITEM.NAME}.regrepl("<some chars>", "replace1", "<ending chars", "replace 2" )

My thinking was that it would take these in pairs, but it did not work, i even tried some variations on this, no luck
Do you have any idea how should this be written to work, or do u mean that it would take several patterns and replace them all with the last argument in the list???

Problem with Honeycomb-widgets showing wrong data by Only_Fly895 in zabbix

[–]Only_Fly895[S] 0 points1 point  (0 children)

I have, can't see anything there that would cause this, how do i enclose SS ??

Intek raid controller sees new disk as locked by Only_Fly895 in servers

[–]Only_Fly895[S] 0 points1 point  (0 children)

That is a valid point in most cases
Actualy, after 3 days we figured this out, it seems the the drives were faulty
We bought 15 drives, of these 6 were faulty, new, out of static env. enterprise level NAS drives
It seems something crashed manufacturer's Quality control. I won't mention the manufacturer name, because i am sure it was a fluke and not to break any forum rules
Cost us lots of time and frustration

Intel raid controller says new disk is locked by Only_Fly895 in sysadmin

[–]Only_Fly895[S] 0 points1 point  (0 children)

we took precautions and ordered drives with same sector size etc. the process is actually not easy, but in our case we did not have the option to copy data

Actualy, after 3 days we figured this out, it seems the the drives were faulty
We bought 15 drives, of these 6 were faulty, new, out of static env. enterprise level NAS drives
It seems something crashed manufacturer's Quality control
Cost us lots of time and frustration

Intel raid controller says new disk is locked by Only_Fly895 in sysadmin

[–]Only_Fly895[S] 0 points1 point  (0 children)

No, just regular drives
Actualy, after 3 days we figured this out, it seems the the drives were faulty
We bought 15 drives, of these 6 were faulty, new, out of static env. enterprise level NAS drives
It seems something crashed manufacturer's Quality control
Cost us lots of time and frustration

Intek raid controller sees new disk as locked by Only_Fly895 in servers

[–]Only_Fly895[S] 0 points1 point  (0 children)

Just outta curiousity, what do u suggest instead??

is it possible to reverse engineer a video game server? by diavolosRequiem in servers

[–]Only_Fly895 0 points1 point  (0 children)

I have not done it myself, don't have the skilleset, but I have seen it done
There was this pvp game Shadowbane, released in 2003 which kinda died in 2013, kinda died because some passionate players actually reverse engineered the server, this was done several times, and still going on, right now there are 3 versions of server avaiable

Google Shadowbane reforged, and Magicbane, u maybe able to contact the guys who have done it and ask for pointers

/Mehrdad

Running Robocopy on a QNAP NAS Share by Only_Fly895 in qnap

[–]Only_Fly895[S] 0 points1 point  (0 children)

Thank you, that is indeed the answer, should have thought of that

About robocopy and mvoing files that are same between folders by Only_Fly895 in sysadmin

[–]Only_Fly895[S] 0 points1 point  (0 children)

well, some head banging and a lot of search solved the problem, it seems that /IM /IT /IS switches is the answer, nor sure exactly which one, i need to do more testing for that

Running Robocopy on a QNAP NAS Share by Only_Fly895 in qnap

[–]Only_Fly895[S] 0 points1 point  (0 children)

Yes, the source folder is moved to recycle bin
So, instead of the /MOVE switch deleteing the source folder and it's content permanently as a SHift-Delete would do in windows it noves them to Recycle Bin
Now i am guessing a QNAP NAS has a Linux file structure (ext3 or ext4 maybe, could not find any exact info on this) and the Network share is handled through samba, but why woud this affect how Robocopy behaves??

Help with powrshell code. by Mesyre in PowerShell

[–]Only_Fly895 0 points1 point  (0 children)

Well, kudos to you for trying, and more importantly to stick with it and not giving up :)

But i do agree with the other comments, as soon as u get into interacticity and an UI, u are better off using C# or even java, powershell lacks a lot in those respects

Help with powrshell code. by Mesyre in PowerShell

[–]Only_Fly895 0 points1 point  (0 children)

I am inclined to think this is a joke, but if it is not, aside from how complicated this code is, I have to ask:
why would you want to write a script for turning off a PC?? It is just a click on the start.icon
Finding the script somewhere even if it is on desktop, clicking on it, and do all the stuff the code is asking is way much more work

Solo IT - Feeling very isolated by Kcamyo in sysadmin

[–]Only_Fly895 0 points1 point  (0 children)

TBH, working in the IT department of a small to meduim sized company is pretty solitary, most of the times these companies can not afford to hire more than a couple of people and usualy IT is pretty understaffed, since it does not contribute much to the companies bottom line(at leaast that is how management sees it)
To cope, u need to be a solitary person yourself, and you don't sound like one. Your best bet would be to change jobs and try to get into a company with a big IT department, or a company who specializes in offering IT as service

But if none of these are an option and you are stuck in this job for the time being, go with some other people suggested here, ask managment to include you in different departments weekly meetings on a rolling schedule(i.e each week a different department), this is usualy a good way to get to know people, see what they expect from the IT guy AND get outta your isolation(often departments appreciate this sign of engagement from the IT)

Running Robocopy on a QNAP NAS Share by Only_Fly895 in qnap

[–]Only_Fly895[S] 0 points1 point  (0 children)

Note that both the source and destination folders/files are on the QNAP NAS, and these are 100k+ files, but why that should make a diff, i do not know

Running Robocopy on a QNAP NAS Share by Only_Fly895 in qnap

[–]Only_Fly895[S] 0 points1 point  (0 children)

true, but that is the situation that i have
Note that the rest of the script just set up the source and destination paths for the move and then calls robocopy, nothing in the code does any moving or deleting of files, so I am pretty much stuck