Symantec Monitoring

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
narendra.badgujar
Posts: 46
Joined: Thu Mar 14, 2013 12:55 am

Symantec Monitoring

Post by narendra.badgujar »

HI,

Can we monitor, Symentec update on client machine. Please help.
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Symantec Monitoring

Post by slansing »

This is quite broad, as far as I know all Symantec products that have the ability to be updated. You can start by narrowing down your search terms on our exchange site:

http://exchange.nagios.org/

You should be able to find a custom plugin there.
narendra.badgujar
Posts: 46
Joined: Thu Mar 14, 2013 12:55 am

Re: Symantec Monitoring

Post by narendra.badgujar »

For symantec last update date, I followed below mention instruction. But unable get update.

Save the script to your NSClient++scripts directory and then add the following line under the [NRPE Handlers] section of your NSC.ini file

check_av=cscript.exe //NoLogo scriptscheck_av.vbs /W:$ARG1$ /c:$ARG2$
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Symantec Monitoring

Post by abrist »

Can you link us to the plugin script (check_av) you are using?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
narendra.badgujar
Posts: 46
Joined: Thu Mar 14, 2013 12:55 am

Re: Symantec Monitoring

Post by narendra.badgujar »

not getting ?
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Symantec Monitoring

Post by slansing »

Can you attach, or provide a link to that plugin.
User avatar
lmiltchev
Former Nagios Staff
Posts: 13587
Joined: Mon May 23, 2011 12:15 pm

Re: Symantec Monitoring

Post by lmiltchev »

I am not able to test "scriptscheck_av.vbs" on my test boxes, but here's a few things that you can do to troubleshoot the issue:

1. Make sure you can run the "scriptscheck_av.vbs" locally and it produces the desired output
2. Make sure that in the NSC.ini file (or nsclient.ini) you NRPE and External Scripts modules are enabled, and you have:

Code: Select all

allow_arguments=1
allow_nasty_meta_chars=1
3. You should probably change your command from this:

Code: Select all

check_av=cscript.exe //NoLogo scriptscheck_av.vbs /W:$ARG1$ /c:$ARG2$
to something like this:

Code: Select all

check_av=cscript.exe //NoLogo //T:60 scripts\\scriptscheck_av.vbs $ARG1$
4. Test your check by running from the Nagios box:

Code: Select all

cd <your plugins directory>
./check_nrpe -H <windows box ip> -c check_av -a '<put your arguments here>'
Be sure to check out our Knowledgebase for helpful articles and solutions!
narendra.badgujar
Posts: 46
Joined: Thu Mar 14, 2013 12:55 am

Re: Symantec Monitoring

Post by narendra.badgujar »

slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Symantec Monitoring

Post by slansing »

Have you made the changes lmiltchev suggested?
narendra.badgujar
Posts: 46
Joined: Thu Mar 14, 2013 12:55 am

Re: Symantec Monitoring

Post by narendra.badgujar »

Yes I made suggested changes.

[root@server libexec]# ./check_nrpe -H 172.16.2.45 -c check_av
No handler for command: cscript.exe

[root@server libexec]# ./check_nrpe -H 172.16.2.45 -c check_av -a 1 2
Exception processing request: Request contained arguments (not currently allowed, check the allow arguments option).
Locked