This is a bash script to get Google Analytics Data, in this case A total day Pageviews. Here is the code: #!/bin/bash # Get google anlytics pageview results # by Felipe Ferreira Dec 17 2013 # v1 #todo: get REAL […]
Cannot get perfdata file. Unkown perfdata file
Using Nagios / Centreon Distributed Monitoring Problem: # tail -f /usr/local/centreon/log/centcore.log “Cannot get perfdata file. Unkown perfdata file on poller 2” and # tail /usr/local/centreon/log/nagiosPerfTrace.log “Use of uninitialized value in concatenation (.) or string at /usr/local/centreon/bin/nagiosPerfTrace line 346. DBD::mysql::db do […]
Parse nagios hosts.cfg
I am in a project to import over 600 servers from old nagios 2.0 to nagios 3.0 / Centreon. So the sysadmins here do not put the address field inside the hosts.cfg, so I either ping 500 servers copy and […]
Get Local Admins
Remotely Get Local Admins Users inside Administrators group, for Workstations Also tests the connectivity, it gets computers from AD object type “computer” and it prints out a nice report. ‘Remotely Get Local Admins Users inside Administrators group, for […]