Symantec Monitoring
-
- Posts: 46
- Joined: Thu Mar 14, 2013 12:55 am
Symantec Monitoring
HI,
Can we monitor, Symentec update on client machine. Please help.
Can we monitor, Symentec update on client machine. Please help.
-
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Symantec Monitoring
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.
http://exchange.nagios.org/
You should be able to find a custom plugin there.
-
- Posts: 46
- Joined: Thu Mar 14, 2013 12:55 am
Re: Symantec Monitoring
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$
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$
Re: Symantec Monitoring
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.
"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.
-
- Posts: 46
- Joined: Thu Mar 14, 2013 12:55 am
Re: Symantec Monitoring
not getting ?
-
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Symantec Monitoring
Can you attach, or provide a link to that plugin.
Re: Symantec Monitoring
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:
3. You should probably change your command from this:
to something like this:
4. Test your check by running from the Nagios box:
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
Code: Select all
check_av=cscript.exe //NoLogo scriptscheck_av.vbs /W:$ARG1$ /c:$ARG2$
Code: Select all
check_av=cscript.exe //NoLogo //T:60 scripts\\scriptscheck_av.vbs $ARG1$
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!
-
- Posts: 46
- Joined: Thu Mar 14, 2013 12:55 am
-
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Symantec Monitoring
Have you made the changes lmiltchev suggested?
-
- Posts: 46
- Joined: Thu Mar 14, 2013 12:55 am
Re: Symantec Monitoring
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).
[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).