Search found 6 matches

by [email protected]
Thu Mar 18, 2021 11:24 am
Forum: Nagios XI
Topic: powershell script remote server
Replies: 5
Views: 918

Re: powershell script remote server

on local server it works.

probably you're right doesn't have access to UNC paths

in this case I will run on server locally

thanks for suggestions :)
by [email protected]
Thu Mar 18, 2021 2:51 am
Forum: Nagios XI
Topic: powershell script remote server
Replies: 5
Views: 918

Re: powershell script remote server

the script is: $size = [math]::round((Get-Item \\server\d$\AppData\Exchange\TransportRoles\data\Queue\mail.que).Length /1GB) $size = (Get-Item \\server\d$\AppData\Exchange\TransportRoles\data\Queue\mail.que).Length write-host $size the command is: cmd /c echo scripts\check_exchange_mail_queue.ps1 $A...
by [email protected]
Tue Mar 16, 2021 6:46 am
Forum: Nagios XI
Topic: powershell script remote server
Replies: 5
Views: 918

powershell script remote server

Hi all, i try to use a powershell script in nagios with this command: $size = (Get-Item REMOTESERVER\d$\AppData\Exchange\TransportRoles\data\Queue\mail.que).Length write-host $size in powershell it works perfectly but when i try to run the script with nrpe on nagios it always exit with 0 because $si...
by [email protected]
Mon Jan 08, 2018 4:17 am
Forum: Open Source Nagios Projects
Topic: Nagiosql - mysql error
Replies: 1
Views: 1013

Nagiosql - mysql error

Hi all, someone can help me with this error in Nagiosql Hosts page? You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘`value’ at line 4 edit: sorry error found in nag_class.php, was missing an ` near "ORDER BY ...
by [email protected]
Fri Sep 30, 2016 3:20 am
Forum: Open Source Nagios Projects
Topic: SNMP TRAP
Replies: 4
Views: 2483

Re: SNMP TRAP

sorry but there was an uncofigured object under Admin --> Unconfigured Objects

now it works fine.

thanks for support :D
by [email protected]
Thu Sep 29, 2016 9:48 am
Forum: Open Source Nagios Projects
Topic: SNMP TRAP
Replies: 4
Views: 2483

SNMP TRAP

Hi, i try to configure Nagios for receive trap from an HP ILO. I have converted the MIB and configured the plugin and i see in /var/log/snmptt/snmptt.log the traps with correct description but on Nagios web interface the snmp service shows OK: TRAP RESET (like the attachment) in the status informati...