Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
Home
Help
Search
Calendar
Login
Register
Openideas.info
|
Pandora FMS
|
Community general support
|
Help for new users in Pandora FMS
|
Monitoring Backup Exec
Pages: [
1
]
Go Down
« previous
next »
Print
Author
Topic: Monitoring Backup Exec (Read 670 times)
0 Members and 1 Guest are viewing this topic.
carsten.ager
Newbie
Karma: 0
Offline
Posts: 2
Monitoring Backup Exec
«
on:
January 19, 2011, 01:28:08 PM »
Hi
We are evaulating PandoraFMS. We have downladed the virtual applience and installed it on a esxi server and it is running tests with agents on 3 servers.
One question that has popped up is:
- are there any agents available to monitor Symantec Backup Exec?
What we want is - off course - information when backup jobs fail.
Regards
Carsten Ager
Logged
raul
Administrator
Expert member
Karma: 1
Offline
Posts: 576
Re: Monitoring Backup Exec
«
Reply #1 on:
January 20, 2011, 05:36:39 PM »
Hi, if Symantec Backup Exec writes anything in a log, for example, and you know if there is a string that appears if backup fails, you can create a module easily to be added to your Pandora Agent in the Symantec Machine, for instance:
Let's suppose the log is C:\Symantec\error.log, and if fails, the string "Backup Failed" appears in that log, you can create a module using awk like:
module_begin
module_name BackUp
module_type generic_data
module_exec awk "{x=0} /Failed/ {x=1} {print x}" C:\Symantec\error.log
module_description Failed in log.txt
module_end
It will shown 1 if the text "Failed" is shown in the log and 0, if not.
If you have several "Failed" strings, you can use other commands to find the last one.
Hope it helps
«
Last Edit: January 20, 2011, 06:24:02 PM by raul
»
Logged
Sancho Lerena
Administrator
Expert member
Karma: 24
Offline
Posts: 1151
I can see everything... with my glasses :-)
Re: Monitoring Backup Exec
«
Reply #2 on:
January 20, 2011, 05:54:55 PM »
I use a single approach: how old is the file (in secs), by substracting its creation time from the current time, sounds complicated but it's easy to do:
For example:
module_begin
module_name LastBackup_Timestamp
module_type generic_data
module_exec expr `date +%s` - `ls -la --time-style=+%s /var/backup/lastbackup| awk '{ print $6 }'`
module_end
This will get a number, which will be increased in time, just define a critical threshold to define "when" its too old for you.
It will work in Windows with some modifications.
In windows you can use event parsing (form the eventlog), or parse an external log file, same as in Unix agents.
Good luck !
Logged
-- See you in the other screen.
carsten.ager
Newbie
Karma: 0
Offline
Posts: 2
Re: Monitoring Backup Exec
«
Reply #3 on:
January 20, 2011, 07:54:48 PM »
Seems like it is possible :-)
I'll play with the solutions during the next days, and report back.
Thanx
Carsten
Logged
daniels
Smart member
Karma: 19
Offline
Posts: 205
Re: Monitoring Backup Exec
«
Reply #4 on:
February 10, 2011, 06:55:08 PM »
module_begin
module_name LastBackup_Timestamp
module_type generic_data
module_exec expr `date +%s` - `ls -la --time-style=+%s /var/backup/lastbackup| awk '{ print $6 }'`
module_end
I loved this module Sancho.
Thanks ;-)
Logged
Pages: [
1
]
Go Up
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Pandora FMS
-----------------------------
=> Announcements and news
=> Suggestions and new feature request
=> F for Flexible... or awesome ideas using Pandora FMS
=> Community general support
===> Español / Spanish forum
===> Help for new users in Pandora FMS
===> Advanced troubleshooting and problems
===> 日本語フォーラム / Japanese forum
===> Development lists (Read only)
-----------------------------
General Category
-----------------------------
=> Epic Tunnelizer
=> Lechuga CMS
=> Sysadmin tools
=> General monitoring discussion
=> Openideas General Forums
===> Linux systems
===> Unix systems
=> Babel Enterprise
=> Integria IMS
=> phpRADmin
Loading...